2019-08-24 03:48:09 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2019-11-05 03:23:37 +08:00
|
|
|
index 6e69e3a..65c9c03 100644
|
2016-09-19 11:50:08 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2019-11-05 03:23:37 +08:00
|
|
|
@@ -535,7 +535,7 @@ endif()
|
2018-11-05 03:24:45 +08:00
|
|
|
|
2019-08-24 03:48:09 +08:00
|
|
|
if(WIN32)
|
|
|
|
# Postfix of DLLs:
|
2019-11-05 03:23:37 +08:00
|
|
|
- ocv_update(OPENCV_DLLVERSION "${OPENCV_VERSION_MAJOR}${OPENCV_VERSION_MINOR}${OPENCV_VERSION_PATCH}")
|
|
|
|
+ ocv_update(OPENCV_DLLVERSION "")
|
|
|
|
ocv_update(OPENCV_DEBUG_POSTFIX d)
|
2019-08-24 03:48:09 +08:00
|
|
|
else()
|
|
|
|
# Postfix of so's:
|
2019-11-05 03:23:37 +08:00
|
|
|
@@ -588,7 +588,7 @@ endif()
|
2019-08-24 03:48:09 +08:00
|
|
|
ocv_cmake_hook(POST_CMAKE_BUILD_OPTIONS)
|
2018-11-05 03:24:45 +08:00
|
|
|
|
2019-08-24 03:48:09 +08:00
|
|
|
# --- Python Support ---
|
|
|
|
-if(NOT IOS)
|
|
|
|
+if(0)
|
|
|
|
include(cmake/OpenCVDetectPython.cmake)
|
2016-09-28 06:49:41 +08:00
|
|
|
endif()
|
2018-11-05 03:24:45 +08:00
|
|
|
|
2019-08-24 03:48:09 +08:00
|
|
|
diff --git a/cmake/OpenCVCompilerOptions.cmake b/cmake/OpenCVCompilerOptions.cmake
|
2019-11-05 03:23:37 +08:00
|
|
|
index f7fd48b..5bd5c25 100644
|
2019-08-24 03:48:09 +08:00
|
|
|
--- a/cmake/OpenCVCompilerOptions.cmake
|
|
|
|
+++ b/cmake/OpenCVCompilerOptions.cmake
|
2019-11-05 03:23:37 +08:00
|
|
|
@@ -257,7 +257,6 @@ if(MSVC)
|
2019-08-24 03:48:09 +08:00
|
|
|
#endif()
|
|
|
|
|
|
|
|
if(BUILD_WITH_DEBUG_INFO)
|
|
|
|
- set(OPENCV_EXTRA_FLAGS_RELEASE "${OPENCV_EXTRA_FLAGS_RELEASE} /Zi")
|
|
|
|
set(OPENCV_EXTRA_EXE_LINKER_FLAGS_RELEASE "${OPENCV_EXTRA_EXE_LINKER_FLAGS_RELEASE} /debug")
|
|
|
|
set(OPENCV_EXTRA_SHARED_LINKER_FLAGS_RELEASE "${OPENCV_EXTRA_SHARED_LINKER_FLAGS_RELEASE} /debug")
|
|
|
|
endif()
|
|
|
|
diff --git a/cmake/OpenCVGenConfig.cmake b/cmake/OpenCVGenConfig.cmake
|
2019-11-05 03:23:37 +08:00
|
|
|
index c7f9fc2..a22f94a 100644
|
2016-09-19 11:50:08 +08:00
|
|
|
--- a/cmake/OpenCVGenConfig.cmake
|
|
|
|
+++ b/cmake/OpenCVGenConfig.cmake
|
2019-08-24 03:48:09 +08:00
|
|
|
@@ -109,7 +109,7 @@ function(ocv_gen_config TMP_DIR NESTED_PATH ROOT_NAME)
|
2017-02-09 15:46:46 +08:00
|
|
|
endif()
|
|
|
|
endfunction()
|
2018-11-05 03:24:45 +08:00
|
|
|
|
2018-02-22 08:47:42 +08:00
|
|
|
-if((CMAKE_HOST_SYSTEM_NAME MATCHES "Linux" OR UNIX) AND NOT ANDROID)
|
2019-08-24 03:48:09 +08:00
|
|
|
+if(NOT ANDROID)
|
2017-02-09 15:46:46 +08:00
|
|
|
ocv_gen_config("${CMAKE_BINARY_DIR}/unix-install" "" "")
|
|
|
|
endif()
|
2018-11-05 03:24:45 +08:00
|
|
|
|
2019-08-24 03:48:09 +08:00
|
|
|
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
|
2019-11-05 03:23:37 +08:00
|
|
|
index 1f0d720..a1fe6fa 100644
|
2016-09-19 11:50:08 +08:00
|
|
|
--- a/data/CMakeLists.txt
|
|
|
|
+++ b/data/CMakeLists.txt
|
2019-11-05 03:23:37 +08:00
|
|
|
@@ -1,9 +1,6 @@
|
2016-09-19 11:50:08 +08:00
|
|
|
file(GLOB HAAR_CASCADES haarcascades/*.xml)
|
|
|
|
file(GLOB LBP_CASCADES lbpcascades/*.xml)
|
2018-11-05 03:24:45 +08:00
|
|
|
|
2016-09-19 11:50:08 +08:00
|
|
|
-install(FILES ${HAAR_CASCADES} DESTINATION ${OPENCV_OTHER_INSTALL_PATH}/haarcascades COMPONENT libs)
|
|
|
|
-install(FILES ${LBP_CASCADES} DESTINATION ${OPENCV_OTHER_INSTALL_PATH}/lbpcascades COMPONENT libs)
|
2019-11-05 03:23:37 +08:00
|
|
|
-
|
2016-09-19 11:50:08 +08:00
|
|
|
if(INSTALL_TESTS AND OPENCV_TEST_DATA_PATH)
|
|
|
|
install(DIRECTORY "${OPENCV_TEST_DATA_PATH}/" DESTINATION "${OPENCV_TEST_DATA_INSTALL_PATH}" COMPONENT "tests")
|
2019-11-05 03:23:37 +08:00
|
|
|
endif()
|