Commit c4dbd016 authored by Ilya Prokhorov's avatar Ilya Prokhorov

Emscripten build changes

parent a3be7d6b
......@@ -12,7 +12,11 @@ file(GLOB_RECURSE SOURCE_FILES
"src/FlameSteelCore/*.cpp"
)
if (EMSCRIPTEN)
add_library(FlameSteelCore STATIC ${SOURCE_FILES})
else()
add_library(FlameSteelCore SHARED ${SOURCE_FILES})
endif()
install(DIRECTORY "${CMAKE_SOURCE_DIR}/src/FlameSteelCore"
DESTINATION include/FlameSteelFramework
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment