File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -683,6 +683,16 @@ endif()
683683# ========================== build platform ==========================
684684status ("" )
685685status (" Platform:" )
686+ if (NOT DEFINED OPENCV_TIMESTAMP
687+ AND NOT CMAKE_VERSION VERSION_LESS 2.8.11
688+ AND NOT BUILD_INFO_SKIP_TIMESTAMP
689+ )
690+ string (TIMESTAMP OPENCV_TIMESTAMP "" UTC)
691+ set (OPENCV_TIMESTAMP "${OPENCV_TIMESTAMP} " CACHE STRING "Timestamp of OpenCV build configuration" FORCE)
692+ endif ()
693+ if (OPENCV_TIMESTAMP)
694+ status (" Timestamp:" ${OPENCV_TIMESTAMP} )
695+ endif ()
686696status (" Host:" ${CMAKE_HOST_SYSTEM_NAME} ${CMAKE_HOST_SYSTEM_VERSION} ${CMAKE_HOST_SYSTEM_PROCESSOR} )
687697if (CMAKE_CROSSCOMPILING )
688698 status (" Target:" ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_VERSION} ${CMAKE_SYSTEM_PROCESSOR} )
You can’t perform that action at this time.
0 commit comments