Skip to content

Commit 01a0baf

Browse files
committed
Attempt to fix WASM
1 parent 156b584 commit 01a0baf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CesiumNativeTests/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,11 @@ PRIVATE
145145
CESIUM_NATIVE_DATA_DIR=\"${CMAKE_SOURCE_DIR}/data\"
146146
)
147147
148-
set(CESIUM_NATIVE_TEMP_DIR "${CMAKE_CURRENT_BINARY_DIR}/temp")
148+
if(CESIUM_TARGET_WASM)
149+
set(CESIUM_NATIVE_TEMP_DIR "")
150+
else()
151+
set(CESIUM_NATIVE_TEMP_DIR "${CMAKE_CURRENT_BINARY_DIR}/temp")
152+
endif()
149153
150154
target_compile_definitions(cesium-native-tests
151155
PRIVATE

0 commit comments

Comments
 (0)