Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
b01f0676
Commit
b01f0676
authored
Mar 25, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3865 from tdsmith:2.4-python-linkage
parents
c9bb18b9
d057828e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
CMakeLists.txt
modules/python/CMakeLists.txt
+5
-1
No files found.
modules/python/CMakeLists.txt
View file @
b01f0676
...
...
@@ -64,7 +64,11 @@ add_library(${the_module} SHARED src2/cv2.cpp ${CMAKE_CURRENT_BINARY_DIR}/genera
if
(
PYTHON_DEBUG_LIBRARIES AND NOT PYTHON_LIBRARIES MATCHES
"optimized.*debug"
)
target_link_libraries
(
${
the_module
}
debug
${
PYTHON_DEBUG_LIBRARIES
}
optimized
${
PYTHON_LIBRARIES
}
)
else
()
target_link_libraries
(
${
the_module
}
${
PYTHON_LIBRARIES
}
)
if
(
APPLE
)
set_target_properties
(
${
the_module
}
PROPERTIES LINK_FLAGS
"-undefined dynamic_lookup"
)
else
()
target_link_libraries
(
${
the_module
}
${
PYTHON_LIBRARIES
}
)
endif
()
endif
()
target_link_libraries
(
${
the_module
}
${
OPENCV_MODULE_
${
the_module
}
_DEPS
}
)
...
...
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