Notably, remove the include_directories(), which is not necessary, as most files do not actually use this.
14 lines
276 B
CMake
14 lines
276 B
CMake
add_library(ds OBJECT
|
|
byte_array.c
|
|
byte_array_producer.c
|
|
seq_arr.c
|
|
hashtable.c
|
|
obj_hashtable.c
|
|
)
|
|
|
|
target_include_directories(ds PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
if(ENABLE_TESTS)
|
|
add_subdirectory(tests)
|
|
endif()
|