Skip to content

Commit c99c89d

Browse files
authored
Fix cmake error related to difference of CMake generators in OpenCV build (#197)
1 parent e1f3120 commit c99c89d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmake/opencv_config.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ execute_process(
55
COMMAND ${CMAKE_COMMAND}
66
-S "${CMAKE_SOURCE_DIR}/3rdparty/opencv"
77
-B "${OPENCV_BUILD_DIR}"
8+
-G "${CMAKE_GENERATOR}"
89
-DCMAKE_C_COMPILER_LAUNCHER=${CMAKE_C_COMPILER_LAUNCHER}
910
-DCMAKE_CXX_COMPILER_LAUNCHER=${CMAKE_CXX_COMPILER_LAUNCHER}
1011
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}

0 commit comments

Comments
 (0)