Explorar o código

update CMakeLists.txt version

DevYK %!s(int64=3) %!d(string=hai) anos
pai
achega
7c51a80469

+ 4 - 1
CMakeLists.txt

@@ -1,4 +1,5 @@
-cmake_minimum_required(VERSION 3.19)
+set(CMAKE_VERSION 3.6.2)
+cmake_minimum_required(VERSION ${CMAKE_VERSION})
 set(CMAKE_CXX_STANDARD 11)
 project(bytesflow-opencv-media)
 
@@ -40,6 +41,8 @@ ELSE ()
     MESSAGE(STATUS "other platform: ${CMAKE_SYSTEM_NAME}")
 ENDIF (CMAKE_SYSTEM_NAME MATCHES "Linux")
 
+message(OPENCV_INCLUDE>${OPENCV_INCLUDE})
+message(OPENCV_LIBS>${OPENCV_INCLUDE})
 link_directories(${OPENCV_LIBS})
 include_directories(${OPENCV_INCLUDE})
 include_directories(${JNI_MD_PATH})

+ 3 - 0
cmake-build-debug/CMakeCache.txt

@@ -269,6 +269,9 @@ opencvSample_BINARY_DIR:STATIC=/Users/devyk/Data/Project/sample/github_code/Open
 //Value Computed by CMake
 opencvSample_SOURCE_DIR:STATIC=/Users/devyk/Data/Project/sample/github_code/OpenCVSample
 
+//Dependencies for the target
+piaoquan_java_opencv_LIB_DEPENDS:STATIC=general;-lopencv_imgproc;general;-lopencv_imgcodecs;general;-lopencv_core;
+
 
 ########################
 # INTERNAL cache entries

+ 2 - 0
cmake-build-debug/CMakeFiles/clion-log.txt

@@ -2,6 +2,8 @@
 FINDJAVA_HOME--->
 JAVA_HOME
 not defined environment variable:JAVA_HOME
+OPENCV_INCLUDE>/usr/local/Cellar/opencv/4.5.4_4/include/opencv4
+OPENCV_LIBS>/usr/local/Cellar/opencv/4.5.4_4/include/opencv4
 -- Configuring done
 -- Generating done
 -- Build files have been written to: /Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug

+ 2 - 2
cmake-build-debug/Testing/Temporary/LastTest.log

@@ -1,3 +1,3 @@
-Start testing: Feb 24 13:15 CST
+Start testing: Feb 24 13:47 CST
 ----------------------------------------------------------
-End testing: Feb 24 13:15 CST
+End testing: Feb 24 13:47 CST

+ 2 - 5
cmake-build-debug/cmake_install.cmake

@@ -38,13 +38,10 @@ if(NOT DEFINED CMAKE_OBJDUMP)
 endif()
 
 if(NOT CMAKE_INSTALL_LOCAL_ONLY)
-  # Include the install script for the subdirectory.
+  # Include the install script for each subdirectory.
   include("/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/opencv/cmake_install.cmake")
-endif()
-
-if(NOT CMAKE_INSTALL_LOCAL_ONLY)
-  # Include the install script for the subdirectory.
   include("/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/jni/cmake_install.cmake")
+
 endif()
 
 if(CMAKE_INSTALL_COMPONENT)