File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,11 @@ export_executable_symbols(CppInterOpTests)
7676
7777unset (LLVM_LINK_COMPONENTS)
7878
79+ if (NOT EMSCRIPTEN)
80+ set (EXTRA_TEST_SOURCE_FILES "" )
81+ set (EXTRA_PATH_TEST_BINARIES /TestSharedLib/unittests/bin/$<CONFIG>/)
82+ endif ()
83+
7984add_cppinterop_unittest(DynamicLibraryManagerTests DynamicLibraryManagerTest.cpp ${EXTRA_TEST_SOURCE_FILES} )
8085
8186target_link_libraries (DynamicLibraryManagerTests
@@ -95,10 +100,6 @@ if(EMSCRIPTEN)
95100 )
96101endif ()
97102
98- if (NOT EMSCRIPTEN)
99- set (EXTRA_PATH_TEST_BINARIES /TestSharedLib/unittests/bin/$<CONFIG>/)
100- endif ()
101-
102103set_output_directory(DynamicLibraryManagerTests
103104 BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR} /${EXTRA_PATH_TEST_BINARIES}
104105 LIBRARY_DIR ${CMAKE_CURRENT_BINARY_DIR} /${EXTRA_PATH_TEST_BINARIES}
You can’t perform that action at this time.
0 commit comments