diff options
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b475655..ae19e3b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
@@ -252,7 +252,9 @@ add_platform_test(bn_to_string bn_to_string) | |||
252 | # bn_unit | 252 | # bn_unit |
253 | add_executable(bn_unit bn_unit.c) | 253 | add_executable(bn_unit bn_unit.c) |
254 | target_link_libraries(bn_unit ${OPENSSL_TEST_LIBS}) | 254 | target_link_libraries(bn_unit ${OPENSSL_TEST_LIBS}) |
255 | set_target_properties(bn_unit PROPERTIES LINK_FLAGS "-sALLOW_MEMORY_GROWTH") | 255 | if(EMSCRIPTEN) |
256 | set_target_properties(bn_unit PROPERTIES LINK_FLAGS "-sALLOW_MEMORY_GROWTH") | ||
257 | endif() | ||
256 | add_platform_test(bn_unit bn_unit) | 258 | add_platform_test(bn_unit bn_unit) |
257 | 259 | ||
258 | # bn_word | 260 | # bn_word |