Skip to content

Commit

Permalink
Make GENERATOR variable intent clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcila committed Mar 16, 2019
1 parent 6329f57 commit 08a3951
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/cmake/vcpkg_test_cmake.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ function(vcpkg_test_cmake)
if(_tc_GENERATOR)
set(GENERATOR ${_tc_GENERATOR})
else()
# vcpkg_configure_cmake defines _VCPKG_CMAKE_GENERATOR when called
# _VCPKG_CMAKE_GENERATOR is defined if vcpkg_configure_cmake() has been called
# if not, GENERATOR is undefined and will be handled later on
set(GENERATOR ${_VCPKG_CMAKE_GENERATOR})
endif()

Expand Down

0 comments on commit 08a3951

Please sign in to comment.