Skip to content

Commit 98e07e7

Browse files
authored
Fix TEST_SHARED_LIBRARY_PATH for different build configs (#656)
1 parent 2585d0d commit 98e07e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittests/CppInterOp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ target_link_libraries(DynamicLibraryManagerTests
9797
)
9898

9999
if(EMSCRIPTEN)
100-
set(TEST_SHARED_LIBRARY_PATH "${CMAKE_CURRENT_BINARY_DIR}/TestSharedLib/unittests/bin/Release/")
100+
set(TEST_SHARED_LIBRARY_PATH "${CMAKE_CURRENT_BINARY_DIR}/TestSharedLib/unittests/bin/$<CONFIG>/")
101101
string(REPLACE "@" "@@" ESCAPED_TEST_SHARED_LIBRARY_PATH "${TEST_SHARED_LIBRARY_PATH}")
102102
# Check explanation of Emscripten-specific link flags for CppInterOpTests above for DynamicLibraryManagerTests as well.
103103
target_link_options(DynamicLibraryManagerTests

0 commit comments

Comments
 (0)