Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
758856df
Commit
758856df
authored
Apr 28, 2013
by
Davis King
Browse files
Fixed cmake build problem on windows
parent
2c2f9556
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/add_python_module
dlib/add_python_module
+1
-1
No files found.
dlib/add_python_module
View file @
758856df
...
@@ -39,7 +39,7 @@ include(${dlib_path}/cmake)
...
@@ -39,7 +39,7 @@ include(${dlib_path}/cmake)
# output name is set to what the user asked for (i.e. no _).
# output name is set to what the user asked for (i.e. no _).
macro(add_python_module module_name module_sources )
macro(add_python_module module_name module_sources )
ADD_LIBRARY(${module_name}_ SHARED ${module_sources} ${ARGN} )
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)
if(WIN32)
SET_TARGET_PROPERTIES( ${module_name}_
SET_TARGET_PROPERTIES( ${module_name}_
PROPERTIES
PROPERTIES
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment