Skip to content

Commit

Permalink
auto set CMAKE_GENERATOR for conan
Browse files Browse the repository at this point in the history
  • Loading branch information
shun2wang authored Jul 25, 2024
1 parent f51bebf commit 2f73a9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tools/CMake/Conan.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ if(USE_CONAN)
COMMAND
conan install ${CONAN_FILE_PATH} --output-folder=${CMAKE_BINARY_DIR}/conan_build
-s build_type=${CMAKE_BUILD_TYPE}
-c tools.cmake.cmaketoolchain:generator=${CMAKE_GENERATOR}
-s compiler.runtime=${CONAN_COMPILER_RUNTIME} --build=missing)

elseif(APPLE)
Expand Down

0 comments on commit 2f73a9d

Please sign in to comment.