mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Fixed cmake build problem on windows
This commit is contained in:
parent
2c2f955647
commit
758856dff9
@ -39,7 +39,7 @@ include(${dlib_path}/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} dlib)
|
||||
TARGET_LINK_LIBRARIES(${module_name}_ ${Boost_LIBRARIES} ${PYTHON_LIBRARIES} dlib)
|
||||
if(WIN32)
|
||||
SET_TARGET_PROPERTIES( ${module_name}_
|
||||
PROPERTIES
|
||||
|
Loading…
Reference in New Issue
Block a user