diff options
-rw-r--r-- | tests/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 67d15f1..82e5ad3 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
@@ -556,6 +556,9 @@ add_executable(policy policy.c) | |||
556 | set_source_files_properties(policy.c PROPERTIES COMPILE_FLAGS | 556 | set_source_files_properties(policy.c PROPERTIES COMPILE_FLAGS |
557 | -DCERTSDIR=\\"${CMAKE_CURRENT_SOURCE_DIR}\\") | 557 | -DCERTSDIR=\\"${CMAKE_CURRENT_SOURCE_DIR}\\") |
558 | target_link_libraries(policy ${OPENSSL_TEST_LIBS}) | 558 | target_link_libraries(policy ${OPENSSL_TEST_LIBS}) |
559 | if(EMSCRIPTEN) | ||
560 | set_target_properties(policy PROPERTIES LINK_FLAGS "--preload-file ${TEST_SOURCE_DIR}") | ||
561 | endif() | ||
559 | add_platform_test(policy policy) | 562 | add_platform_test(policy policy) |
560 | 563 | ||
561 | # pq_test | 564 | # pq_test |