aboutsummaryrefslogtreecommitdiff
path: root/ports/moos-core
diff options
context:
space:
mode:
Diffstat (limited to 'ports/moos-core')
-rw-r--r--ports/moos-core/portfile.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/moos-core/portfile.cmake b/ports/moos-core/portfile.cmake
index 196b3e648..646fde9e2 100644
--- a/ports/moos-core/portfile.cmake
+++ b/ports/moos-core/portfile.cmake
@@ -28,7 +28,7 @@ vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/MOOS")
set(MOOS_EXEC_SUFFIX "")
-if (WIN32)
+if (NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
set(MOOS_EXEC_SUFFIX ".exe")
endif()