Skip to content

Commit

Permalink
need to define generator in vcpkg_test_cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Neumann-A committed Mar 7, 2019
1 parent 967dcca commit 4cfca10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cmake/vcpkg_test_cmake.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function(vcpkg_test_cmake)
# Run cmake config with a generated CMakeLists.txt
set(LOGPREFIX "${CURRENT_BUILDTREES_DIR}/test-cmake-${TARGET_TRIPLET}")
execute_process(
COMMAND ${CMAKE_COMMAND} .
COMMAND ${CMAKE_COMMAND} -G ${_VCPKG_CMAKE_GENERATOR} .
OUTPUT_FILE "${LOGPREFIX}-out.log"
ERROR_FILE "${LOGPREFIX}-err.log"
RESULT_VARIABLE error_code
Expand Down

0 comments on commit 4cfca10

Please sign in to comment.