File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,8 @@ set_target_properties(${GROK_CORE_NAME} PROPERTIES ${GROK_LIBRARY_PROPERTIES})
150
150
target_compile_options(${GROK_CORE_NAME} PRIVATE ${GROK_COMPILE_OPTIONS} PRIVATE ${HWY_FLAGS})
151
151
# set emcc options
152
152
if (CMAKE_SYSTEM_NAME STREQUAL Emscripten)
153
- target_link_options(${exe } PUBLIC -sASSERTIONS=1 -sPROXY_TO_PTHREAD -sTOTAL_MEMORY=1536MB -sEXIT_RUNTIME=1 -sUSE_PTHREADS=1)
154
- target_compile_options(${exe } PUBLIC -matomics)
153
+ target_link_options(${GROK_CORE_NAME } PUBLIC -sASSERTIONS=1 -sPROXY_TO_PTHREAD -sTOTAL_MEMORY=1536MB -sEXIT_RUNTIME=1 -sUSE_PTHREADS=1)
154
+ target_compile_options(${GROK_CORE_NAME } PUBLIC -matomics)
155
155
endif()
156
156
157
157
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ set_target_properties(${LIBTARGET} PROPERTIES OUTPUT_NAME "${LIBTARGET}")
14
14
set_property(TARGET ${LIBTARGET} PROPERTY POSITION_INDEPENDENT_CODE ON)
15
15
# set emcc options
16
16
if (CMAKE_SYSTEM_NAME STREQUAL Emscripten)
17
- target_link_options(${exe } PUBLIC -sASSERTIONS=1 -sPROXY_TO_PTHREAD -sTOTAL_MEMORY=1536MB -sEXIT_RUNTIME=1 -sUSE_PTHREADS=1)
18
- target_compile_options(${exe } PUBLIC -matomics)
17
+ target_link_options(${LIBTARGET } PUBLIC -sASSERTIONS=1 -sPROXY_TO_PTHREAD -sTOTAL_MEMORY=1536MB -sEXIT_RUNTIME=1 -sUSE_PTHREADS=1)
18
+ target_compile_options(${LIBTARGET } PUBLIC -matomics)
19
19
endif()
20
20
You can’t perform that action at this time.
0 commit comments