changeset 1937:47724d23feaf

fix build of wasm unit tests
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 06 May 2022 15:52:54 +0200
parents 224d7763eede
children 0fc84835289f
files OrthancStone/Resources/WebAssemblyUnitTests/CMakeLists.txt
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancStone/Resources/WebAssemblyUnitTests/CMakeLists.txt	Fri May 06 15:30:26 2022 +0200
+++ b/OrthancStone/Resources/WebAssemblyUnitTests/CMakeLists.txt	Fri May 06 15:52:54 2022 +0200
@@ -45,7 +45,8 @@
 set(WASM_LINKER_FLAGS "${WASM_LINKER_FLAGS} -s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1")
 add_definitions(
   -DDISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1
-)
+  -DORTHANC_BUILD_UNIT_TESTS=1
+  )
 
 
 # Stone of Orthanc configuration