aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/cmake/target_js/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cmake/target_js/CMakeLists.txt b/tests/cmake/target_js/CMakeLists.txt
index b39ae2b7..cee5fc42 100644
--- a/tests/cmake/target_js/CMakeLists.txt
+++ b/tests/cmake/target_js/CMakeLists.txt
@@ -10,6 +10,8 @@ else() # Either MinSizeRel, RelWithDebInfo or Release, all which run with optimi
SET(linkFlags "-O2")
endif()
+SET(CMAKE_EXECUTABLE_SUFFIX ".js")
+
if (WIN32)
message(FATAL_ERROR "WIN32 should not be defined when cross-compiling!")
endif()