From 4197f2c82f923c6c5d333b0d4826ab5dba960baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Tue, 13 Sep 2022 16:32:47 +0000 Subject: [PATCH] clean up cmake --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 46a8eaa..bbbc6d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,10 +15,8 @@ if(MSVC) endif() if (EMSCRIPTEN) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s USE_GLFW=3 --profiling -s ASSERTIONS=1 -s WASM=1 -s INITIAL_MEMORY=268435456 -s FORCE_FILESYSTEM=1 --preload-file ${CMAKE_SOURCE_DIR}/art@art/ --shell-file ${CMAKE_SOURCE_DIR}/web/eco2d.html") - set(CMAKE_EXECUTABLE_SUFFIX ".html") # This line is used to set your executable to build with the emscripten html template so that you can directly open it. - set(CMAKE_COMPILE_WARNING_AS_ERROR OFF) + set(CMAKE_EXECUTABLE_SUFFIX ".html") endif () include_directories(code/common code/vendors code/vendors/flecs)