mirror of https://github.com/davisking/dlib.git
Remove explicit specification of library path in dlibConfig.cmake (#935)
* Remove explicit specification of library path in dlib.cmake Enables side-by-side multi configuration build on windows * Add dlib_LIBS For backwards compatability
This commit is contained in:
parent
cc94179393
commit
fef4a3657b
|
@ -28,9 +28,8 @@ if(NOT TARGET dlib-shared AND NOT dlib_BINARY_DIR)
|
|||
include("${dlib_CMAKE_DIR}/dlib.cmake")
|
||||
endif()
|
||||
|
||||
find_library(dlib_LIBRARIES dlib HINTS "@CMAKE_INSTALL_FULL_LIBDIR@")
|
||||
set(dlib_LIBRARIES ${dlib_LIBRARIES} "@dlib_needed_libraries@")
|
||||
set(dlib_LIBS ${dlib_LIBRARIES} "@dlib_needed_libraries@")
|
||||
set(dlib_LIBRARIES dlib::dlib)
|
||||
set(dlib_LIBS dlib::dlib)
|
||||
set(dlib_INCLUDE_DIRS "@CMAKE_INSTALL_FULL_INCLUDEDIR@" "@dlib_needed_includes@")
|
||||
|
||||
mark_as_advanced(dlib_LIBRARIES)
|
||||
|
|
Loading…
Reference in New Issue