94b2861243
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
23 lines
278 B
CMake
23 lines
278 B
CMake
include_directories(../../include)
|
|
|
|
add_library(
|
|
pqueue
|
|
|
|
OBJECT
|
|
|
|
pqueue.c
|
|
)
|
|
|
|
if(ENABLE_TESTS)
|
|
add_executable(
|
|
pqueue_test
|
|
|
|
pqueue_test.c
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
target_link_libraries(pqueue_test ssl crypto)
|
|
add_dependencies(all_tests pqueue_test)
|
|
endif()
|