mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Switched cmake link names to dlib::dlib
This commit is contained in:
parent
a62cf03c2b
commit
655b7f7fd1
@ -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
|
||||
|
@ -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 )
|
||||
|
||||
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user