From f4a853b72fd89fd1071e46c98722b61a0aa60e77 Mon Sep 17 00:00:00 2001 From: Catherine Date: Sat, 9 May 2026 18:34:43 +0000 Subject: [PATCH] WASI: update outdated platform tests. --- libgm/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgm/CMakeLists.txt b/libgm/CMakeLists.txt index 0625e76..3a9c08c 100644 --- a/libgm/CMakeLists.txt +++ b/libgm/CMakeLists.txt @@ -100,7 +100,7 @@ target_compile_definitions(${PROGRAM_PREFIX}gmpack PRIVATE GATEMATE_RPATH_DATADI target_link_libraries(${PROGRAM_PREFIX}gmpack gatemate ${Boost_LIBRARIES} ${CMAKE_DL_LIBS} ${link_param}) setup_rpath(${PROGRAM_PREFIX}gmpack) -if (WASI) +if (CMAKE_SYSTEM_NAME STREQUAL "WASI") foreach (tool gmunpack gmpack) # set(CMAKE_EXECUTABLE_SUFFIX) breaks CMake tests for some reason set_property(TARGET ${PROGRAM_PREFIX}${tool} PROPERTY SUFFIX ".wasm")