Skip to content

Commit

Permalink
Compiler Dynamic Library Manager test only if Clang-repl is used
Browse files Browse the repository at this point in the history
Signed-off-by: Shreyas Atre <[email protected]>
  • Loading branch information
SAtacker committed Mar 11, 2024
1 parent a242ddb commit 9010f4a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion unittests/CppInterOp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ export_executable_symbols(CppInterOpTests)

unset(LLVM_LINK_COMPONENTS)

add_cppinterop_unittest(DynamicLibraryManagerTests DynamicLibraryManagerTest.cpp)
if(USE_REPL)
add_cppinterop_unittest(DynamicLibraryManagerTests DynamicLibraryManagerTest.cpp)
endif()

target_link_libraries(DynamicLibraryManagerTests
PRIVATE
clangCppInterOp
Expand Down

0 comments on commit 9010f4a

Please sign in to comment.