From d77612fe70ce69013d9bd9350881dc02319896c8 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Fri, 7 Dec 2018 05:14:08 +0000 Subject: [PATCH] cmake: hide 'junk' dir from the root of build directory moved to CMakeFiles (no conflicts are expected) --- cmake/OpenCVVersion.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/OpenCVVersion.cmake b/cmake/OpenCVVersion.cmake index 226db7a45f..a2b4926cf0 100644 --- a/cmake/OpenCVVersion.cmake +++ b/cmake/OpenCVVersion.cmake @@ -15,7 +15,7 @@ set(OPENCV_LIBVERSION "${OPENCV_VERSION_MAJOR}.${OPENCV_VERSION_MINOR}.${OPENCV_ # create a dependency on the version file # we never use the output of the following command but cmake will rerun automatically if the version file changes -configure_file("${OPENCV_VERSION_FILE}" "${CMAKE_BINARY_DIR}/junk/version.junk" COPYONLY) +configure_file("${OPENCV_VERSION_FILE}" "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/opencv_junk/version.junk" COPYONLY) ocv_update(OPENCV_VS_VER_FILEVERSION_QUAD "${OPENCV_VERSION_MAJOR},${OPENCV_VERSION_MINOR},${OPENCV_VERSION_PATCH},0") ocv_update(OPENCV_VS_VER_PRODUCTVERSION_QUAD "${OPENCV_VERSION_MAJOR},${OPENCV_VERSION_MINOR},${OPENCV_VERSION_PATCH},0")