2018-11-06 15:18:16 +01:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2019-08-11 17:12:15 +02:00
|
|
|
index 8631bbc..60352a0 100644
|
2018-11-06 15:18:16 +01:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2019-08-11 17:12:15 +02:00
|
|
|
@@ -1099,11 +1099,11 @@ endif()
|
2018-06-02 11:53:10 +02:00
|
|
|
if(OPENCV_TIMESTAMP)
|
|
|
|
status(" Timestamp:" ${OPENCV_TIMESTAMP})
|
2017-06-12 15:13:03 +02:00
|
|
|
endif()
|
2016-01-28 17:18:35 +01:00
|
|
|
-status(" Host:" ${CMAKE_HOST_SYSTEM_NAME} ${CMAKE_HOST_SYSTEM_VERSION} ${CMAKE_HOST_SYSTEM_PROCESSOR})
|
|
|
|
+status(" Host:" "Linux")
|
|
|
|
if(CMAKE_CROSSCOMPILING)
|
|
|
|
status(" Target:" ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_VERSION} ${CMAKE_SYSTEM_PROCESSOR})
|
|
|
|
endif()
|
|
|
|
-status(" CMake:" ${CMAKE_VERSION})
|
|
|
|
+status(" CMake:" "YES")
|
|
|
|
status(" CMake generator:" ${CMAKE_GENERATOR})
|
|
|
|
status(" CMake build tool:" ${CMAKE_BUILD_TOOL})
|
|
|
|
if(MSVC)
|
2018-11-06 15:18:16 +01:00
|
|
|
diff --git a/cmake/OpenCVUtils.cmake b/cmake/OpenCVUtils.cmake
|
2019-08-11 17:12:15 +02:00
|
|
|
index 9cba5d9..71f764c 100644
|
2018-11-06 15:18:16 +01:00
|
|
|
--- a/cmake/OpenCVUtils.cmake
|
|
|
|
+++ b/cmake/OpenCVUtils.cmake
|
2019-08-11 17:12:15 +02:00
|
|
|
@@ -922,15 +922,18 @@ function(status text)
|
2016-01-28 17:18:35 +01:00
|
|
|
if(${status_cond})
|
|
|
|
string(REPLACE ";" " " status_then "${status_then}")
|
|
|
|
string(REGEX REPLACE "^[ \t]+" "" status_then "${status_then}")
|
|
|
|
+ string(REGEX REPLACE "\\(ver [^\\)]+\\)" "" status_then "${status_then}")
|
|
|
|
ocv_output_status("${status_text} ${status_then}")
|
|
|
|
else()
|
|
|
|
string(REPLACE ";" " " status_else "${status_else}")
|
|
|
|
string(REGEX REPLACE "^[ \t]+" "" status_else "${status_else}")
|
|
|
|
+ string(REGEX REPLACE "\\(ver [^\\)]+\\)" "" status_else "${status_else}")
|
|
|
|
ocv_output_status("${status_text} ${status_else}")
|
|
|
|
endif()
|
|
|
|
else()
|
|
|
|
string(REPLACE ";" " " status_cond "${status_cond}")
|
|
|
|
string(REGEX REPLACE "^[ \t]+" "" status_cond "${status_cond}")
|
|
|
|
+ string(REGEX REPLACE "\\(ver [^\\)]+\\)" "" status_cond "${status_cond}")
|
|
|
|
ocv_output_status("${status_text} ${status_cond}")
|
|
|
|
endif()
|
|
|
|
else()
|
2019-08-11 17:12:15 +02:00
|
|
|
|