2020-05-26 12:35:53 +02:00
|
|
|
cmake_minimum_required(VERSION 3.12)
|
2021-07-26 16:21:01 +02:00
|
|
|
find_package(Boost COMPONENTS program_options REQUIRED)
|
2020-05-26 12:35:53 +02:00
|
|
|
add_executable (ordered_sem
|
|
|
|
sc_main.cpp
|
|
|
|
)
|
|
|
|
target_link_libraries (ordered_sem LINK_PUBLIC scc)
|
2021-07-26 16:21:01 +02:00
|
|
|
if(TARGET Boost::program_options)
|
|
|
|
target_link_libraries(ordered_sem PUBLIC Boost::program_options)
|
|
|
|
else()
|
|
|
|
target_link_libraries(ordered_sem LINK_PUBLIC ${BOOST_program_options_LIBRARY})
|
|
|
|
endif()
|
2020-06-04 20:13:02 +02:00
|
|
|
|
|
|
|
add_test(NAME ordered_sem_test COMMAND ordered_sem)
|