Skip to content

Commit 2b3fcee

Browse files
committed
Utils.cpp inclusion unconditionally
1 parent d03a754 commit 2b3fcee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unittests/CppInterOp/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ export_executable_symbols(CppInterOpTests)
8484

8585
unset(LLVM_LINK_COMPONENTS)
8686

87-
set(EXTRA_TEST_SOURCE_FILES Utils.cpp)
88-
8987
if (NOT EMSCRIPTEN)
88+
set(EXTRA_TEST_SOURCE_FILES "")
9089
set(EXTRA_PATH_TEST_BINARIES /TestSharedLib/unittests/bin/$<CONFIG>/)
9190
endif()
9291

92+
list(APPEND EXTRA_TEST_SOURCE_FILES Utils.cpp)
9393
add_cppinterop_unittest(DynamicLibraryManagerTests DynamicLibraryManagerTest.cpp ${EXTRA_TEST_SOURCE_FILES})
9494

9595
target_link_libraries(DynamicLibraryManagerTests

0 commit comments

Comments
 (0)