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
aee03cd5
Commit
aee03cd5
authored
Dec 14, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5796 from alalek:fix_5019
parents
d366cb96
0db10a30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
CMakeLists.txt
modules/java/CMakeLists.txt
+8
-1
common.cmake
modules/python/common.cmake
+1
-1
No files found.
modules/java/CMakeLists.txt
View file @
aee03cd5
...
...
@@ -346,9 +346,16 @@ endif(ANDROID)
# workarounding lack of `__attribute__ ((visibility("default")))` in jni_md.h/JNIEXPORT
string
(
REPLACE
"-fvisibility=hidden"
""
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
"
)
ocv_add_library
(
${
the_module
}
SHARED
${
handwritten_h_sources
}
${
handwritten_cpp_sources
}
${
generated_cpp_sources
}
if
(
ANDROID
)
# Android native code need to link with libopencv_java.so
ocv_add_library
(
${
the_module
}
SHARED
${
handwritten_h_sources
}
${
handwritten_cpp_sources
}
${
generated_cpp_sources
}
${
copied_files
}
"
${
JAR_FILE
}
"
"
${
JAR_FILE
}
.dephelper"
)
else
()
ocv_add_library
(
${
the_module
}
MODULE
${
handwritten_h_sources
}
${
handwritten_cpp_sources
}
${
generated_cpp_sources
}
${
copied_files
}
"
${
JAR_FILE
}
"
"
${
JAR_FILE
}
.dephelper"
)
endif
()
if
(
BUILD_FAT_JAVA_LIB
)
set
(
__deps
${
OPENCV_MODULE_
${
the_module
}
_DEPS
}
${
OPENCV_MODULES_BUILD
}
)
...
...
modules/python/common.cmake
View file @
aee03cd5
...
...
@@ -46,7 +46,7 @@ add_custom_command(
DEPENDS
${
CMAKE_CURRENT_BINARY_DIR
}
/headers.txt
DEPENDS
${
opencv_hdrs
}
)
ocv_add_library
(
${
the_module
}
SHARED
${
PYTHON_SOURCE_DIR
}
/src2/cv2.cpp
${
cv2_generated_hdrs
}
)
ocv_add_library
(
${
the_module
}
MODULE
${
PYTHON_SOURCE_DIR
}
/src2/cv2.cpp
${
cv2_generated_hdrs
}
)
if
(
PYTHON_DEBUG_LIBRARIES AND NOT PYTHON_LIBRARIES MATCHES
"optimized.*debug"
)
ocv_target_link_libraries
(
${
the_module
}
debug
${
PYTHON_DEBUG_LIBRARIES
}
optimized
${
PYTHON_LIBRARIES
}
)
...
...
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