diff --git a/ports/vcpkg-cmake/cmake_get_vars/CMakeLists.txt b/ports/vcpkg-cmake/cmake_get_vars/CMakeLists.txt index 190455d9a6..29951f5ad2 100644 --- a/ports/vcpkg-cmake/cmake_get_vars/CMakeLists.txt +++ b/ports/vcpkg-cmake/cmake_get_vars/CMakeLists.txt @@ -111,7 +111,7 @@ endif() if(CMAKE_CXX_COMPILER_TARGET) if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") string(APPEND EXTRA_FLAGS " \"${CMAKE_CXX_COMPILE_OPTIONS_TARGET}${CMAKE_CXX_COMPILER_TARGET}\"") - else() + elseif(CMAKE_CXX_COMPILE_OPTIONS_TARGET) string(APPEND EXTRA_FLAGS " ${CMAKE_CXX_COMPILE_OPTIONS_TARGET} \"${CMAKE_CXX_COMPILER_TARGET}\"") endif() endif() diff --git a/ports/vcpkg-cmake/vcpkg.json b/ports/vcpkg-cmake/vcpkg.json index dbfc761c44..842abb832a 100644 --- a/ports/vcpkg-cmake/vcpkg.json +++ b/ports/vcpkg-cmake/vcpkg.json @@ -1,5 +1,5 @@ { "name": "vcpkg-cmake", - "version-date": "2022-04-07", + "version-date": "2022-04-12", "license": "MIT" } diff --git a/versions/baseline.json b/versions/baseline.json index 8e130c1b7e..5a4765c0d3 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7297,7 +7297,7 @@ "port-version": 1 }, "vcpkg-cmake": { - "baseline": "2022-04-07", + "baseline": "2022-04-12", "port-version": 0 }, "vcpkg-cmake-config": { diff --git a/versions/v-/vcpkg-cmake.json b/versions/v-/vcpkg-cmake.json index fb83ccdf33..fd801a9bc4 100644 --- a/versions/v-/vcpkg-cmake.json +++ b/versions/v-/vcpkg-cmake.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "ef4a9463f802c1cd6f8b31e560529aeaee0faff4", + "version-date": "2022-04-12", + "port-version": 0 + }, { "git-tree": "3dcb01563c0de941013579456d19ce5b0bd08a6e", "version-date": "2022-04-07",