change compile order to debug first, fix #2767 (#2785)

This commit is contained in:
Jason Juang 2018-02-13 00:00:27 -08:00 committed by Robert Schumacher
parent cd8fa6f75e
commit d8f3fffd5e

View File

@ -61,7 +61,7 @@ function(vcpkg_build_cmake)
set(PARALLEL_ARG ${NO_PARALLEL_ARG})
endif()
foreach(BUILDTYPE "release" "debug")
foreach(BUILDTYPE "debug" "release")
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL BUILDTYPE)
if(BUILDTYPE STREQUAL "debug")
set(SHORT_BUILDTYPE "dbg")