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)
76
76
77
77
unset (LLVM_LINK_COMPONENTS )
78
78
79
+ if (NOT EMSCRIPTEN )
80
+ set (EXTRA_TEST_SOURCE_FILES "" )
81
+ set (EXTRA_PATH_TEST_BINARIES /TestSharedLib/unittests/bin/$<CONFIG>/ )
82
+ endif ()
83
+
79
84
add_cppinterop_unittest (DynamicLibraryManagerTests DynamicLibraryManagerTest.cpp ${EXTRA_TEST_SOURCE_FILES} )
80
85
81
86
target_link_libraries (DynamicLibraryManagerTests
@@ -95,10 +100,6 @@ if(EMSCRIPTEN)
95
100
)
96
101
endif ()
97
102
98
- if (NOT EMSCRIPTEN )
99
- set (EXTRA_PATH_TEST_BINARIES /TestSharedLib/unittests/bin/$<CONFIG>/ )
100
- endif ()
101
-
102
103
set_output_directory (DynamicLibraryManagerTests
103
104
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR} /${EXTRA_PATH_TEST_BINARIES}
104
105
LIBRARY_DIR ${CMAKE_CURRENT_BINARY_DIR} /${EXTRA_PATH_TEST_BINARIES}
You can’t perform that action at this time.
0 commit comments