Skip to content

Commit c939d00

Browse files
committed
libcprover-cpp regression test: don't duplicate object files
The object files are already part of libcprover-cpp, no need to add them again. Doing so results in duplicate-definition errors on FreeBSD.
1 parent b791e29 commit c939d00

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Diff for: regression/libcprover-cpp/CMakeLists.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
file(GLOB_RECURSE api_sources "../src/libcprover-cpp/*.cpp" "../src/libcprover-cpp/*.h")
2-
31
# This step builds a binary driving the API (to be used for testing)
4-
add_executable(api-binary-driver call_bmc.cpp ${api_sources})
2+
add_executable(api-binary-driver call_bmc.cpp)
53
cprover_default_properties(api-binary-driver)
64
target_include_directories(api-binary-driver
75
PUBLIC

Diff for: regression/libcprover-cpp/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
default: tests.log
22

3-
SRC = call_bmc.cpp $(wildcard ../../src/libcprover-cpp/*.cpp)
3+
SRC = call_bmc.cpp
44

55
OBJ += ../../src/libcprover-cpp/libcprover-cpp$(LIBEXT)
66

0 commit comments

Comments
 (0)