Skip to content

Commit

Permalink
Update CMakeLists to allow building with emscripten (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
nonameentername authored Mar 8, 2024
1 parent 8a685ee commit 8d4ccdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ elseif(NOT MSVC)
endif()

if(WITH_STACK_PROTECTOR)
if(NOT MSVC)
if(NOT MSVC AND NOT EMSCRIPTEN)
check_c_compiler_flag("-fstack-protector-strong" HAVE_STACK_PROTECTOR_FLAG)
endif()
endif()
Expand Down

0 comments on commit 8d4ccdf

Please sign in to comment.