aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <mohammadi.ehsan1994@gmail.com>2019-08-28 23:30:48 +0430
committerunknown <mohammadi.ehsan1994@gmail.com>2019-08-28 23:30:48 +0430
commit20f7eb40a9a209dd0b240ae1a7a432ab50ad97f3 (patch)
tree6e4a01eb65547e5a825a24f5e0183a15bb2a1464
parent8008618cf9ece916daaf31de37c5d5131fff169e (diff)
downloadvcpkg-20f7eb40a9a209dd0b240ae1a7a432ab50ad97f3.tar.gz
vcpkg-20f7eb40a9a209dd0b240ae1a7a432ab50ad97f3.zip
Change WIN32 to VCPKG_TARGET_IS_WINDOWS
-rw-r--r--ports/liblsl/portfile.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/liblsl/portfile.cmake b/ports/liblsl/portfile.cmake
index ecf840985..bd1afddf1 100644
--- a/ports/liblsl/portfile.cmake
+++ b/ports/liblsl/portfile.cmake
@@ -27,7 +27,7 @@ vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
-if(WIN32)
+if(VCPKG_TARGET_IS_WINDOWS)
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/lslver.exe)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/lslver/)
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/lslver.exe ${CURRENT_PACKAGES_DIR}/tools/lslver/lslver.exe)