Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbarton authored Jan 27, 2025
1 parent cda6728 commit 683458e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions unittests/CppInterOp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,18 @@ else()
)
endif()


IF(EMSCRIPTEN)
set_output_directory(CppInterOpTests
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/CppInterOpTests/unittests/
LIBRARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/CppInterOpTests/unittests/
)
else()
set_output_directory(CppInterOpTests
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/CppInterOpTests/unittests/bin/$<CONFIG>/
LIBRARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/CppInterOpTests/unittests/bin/$<CONFIG>/
)
endif()

if(EMSCRIPTEN)
target_link_options(CppInterOpTests PRIVATE
Expand Down

0 comments on commit 683458e

Please sign in to comment.