vcpkg/ports/vcpkg-cmake
Juan Carlos Arevalo Baeza 61e686b24c
[vcpkg-cmake] Fix the application of VCPKG_CMAKE_CONFIGURE_OPTIONS with more than one option (#25123)
* Fix the application of VCPKG_CMAKE_CONFIGURE_OPTIONS with more than one option

VCPKG_CMAKE_CONFIGURE_OPTIONS (plural) is meant to be a list of options to be added to a cmake invocation.

But it was being applied quoted, which disallowed it from containing multiple options.
- If it was initialized with a list, cmake would get the options ";"-separated.
- If it was initialized with a blank-separated string, cmake would get the entire astring quoted as a single argument.

The fix is simple: don't (ever) quote arguments to list(APPEND) unless they are really meant to be a single element to append to the list.

* Update the version-date of vcpkg-cmake

* Update hash after rebase

* Fix vcpkg-cmake.json

In my defence, I'm new to this...

Co-authored-by: Juan Carlos Arevalo Baeza (JCAB) <jcab@ntdev.microsoft.com>
2022-06-20 13:58:43 -07:00
..
portfile.cmake [world rebuild] Move vcpkg-cmake-get-vars to its own port (#24636) 2022-05-11 16:51:06 -07:00
vcpkg_cmake_build.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg_cmake_configure.cmake [vcpkg-cmake] Fix the application of VCPKG_CMAKE_CONFIGURE_OPTIONS with more than one option (#25123) 2022-06-20 13:58:43 -07:00
vcpkg_cmake_install.cmake [docs] Delete embedded documentation in favor of docs/ (#25096) 2022-06-07 16:26:51 -07:00
vcpkg-port-config.cmake [world rebuild] Move vcpkg-cmake-get-vars to its own port (#24636) 2022-05-11 16:51:06 -07:00
vcpkg.json [vcpkg-cmake] Fix the application of VCPKG_CMAKE_CONFIGURE_OPTIONS with more than one option (#25123) 2022-06-20 13:58:43 -07:00