Switched cmake link names to dlib::dlib

This commit is contained in:
Davis King 2017-02-28 05:05:25 -05:00
parent a62cf03c2b
commit 655b7f7fd1
3 changed files with 3 additions and 3 deletions

View File

@ -147,7 +147,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/../cmake)
# output name is set to what the user asked for (i.e. no _).
macro(add_python_module module_name module_sources )
ADD_LIBRARY(${module_name}_ SHARED ${module_sources} ${ARGN} )
TARGET_LINK_LIBRARIES(${module_name}_ ${Boost_LIBRARIES} ${PYTHON_LIBRARIES} dlib)
TARGET_LINK_LIBRARIES(${module_name}_ ${Boost_LIBRARIES} ${PYTHON_LIBRARIES} dlib::dlib)
if(WIN32 AND NOT CYGWIN)
SET_TARGET_PROPERTIES( ${module_name}_
PROPERTIES

View File

@ -19,7 +19,7 @@ ADD_EXECUTABLE(${target_name}
# Tell cmake to link our target executable to dlib.
include(../../dlib/cmake)
TARGET_LINK_LIBRARIES(${target_name} dlib )
TARGET_LINK_LIBRARIES(${target_name} dlib::dlib )

View File

@ -30,7 +30,7 @@ ADD_EXECUTABLE(${target_name}
# Tell cmake to link our target executable to dlib.
TARGET_LINK_LIBRARIES(${target_name} dlib )
TARGET_LINK_LIBRARIES(${target_name} dlib::dlib )
INSTALL(TARGETS ${target_name}