diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-10-12 07:52:48 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-10-12 07:52:48 -0700 |
| commit | d2c728e0bca834e9d30fe1d21c8921cdd4d188b8 (patch) | |
| tree | 23a4096f4cf7dcb5ca5083cb9ffd72d260323623 /ports/bond | |
| parent | 7cd465b8897bd9487db6d990e58dcac472b3d4d6 (diff) | |
| download | vcpkg-d2c728e0bca834e9d30fe1d21c8921cdd4d188b8.tar.gz vcpkg-d2c728e0bca834e9d30fe1d21c8921cdd4d188b8.zip | |
[several ports] Remove CMake double expansions inside if() directives
Diffstat (limited to 'ports/bond')
| -rw-r--r-- | ports/bond/portfile.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/bond/portfile.cmake b/ports/bond/portfile.cmake index f3664da8c..147ebeea8 100644 --- a/ports/bond/portfile.cmake +++ b/ports/bond/portfile.cmake @@ -1,4 +1,4 @@ -if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) +if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") message(STATUS "Warning: Dynamic building not supported yet. Building static.") set(VCPKG_LIBRARY_LINKAGE static) endif() @@ -23,7 +23,7 @@ vcpkg_extract_source_archive(${ARCHIVE}) vcpkg_extract_source_archive(${GBC_ARCHIVE} ${CURRENT_BUILDTREES_DIR}/tools/) set(FETCHED_GBC_PATH ${CURRENT_BUILDTREES_DIR}/tools/gbc-6.0.0-amd64.exe) -if (NOT EXISTS ${FETCHED_GBC_PATH}) +if (NOT EXISTS "${FETCHED_GBC_PATH}") message(FATAL_ERROR "Fetching GBC failed. Expected '${FETCHED_GBC_PATH}' to exists, but it doesn't.") endif() |
