mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56:44 +08:00
* It is now possible to include the repository correctly through add_subdirectory * find_package(continuable) was improved to work when only the path of the repository was added to the module path.
26 lines
496 B
CMake
26 lines
496 B
CMake
if(NOT TARGET function2::function2)
|
|
add_subdirectory(function2)
|
|
endif()
|
|
|
|
if (CTI_CONTINUABLE_WITH_TESTS OR CTI_CONTINUABLE_WITH_BENCHMARKS)
|
|
if(NOT TARGET gtest)
|
|
add_subdirectory(googletest)
|
|
endif()
|
|
endif()
|
|
|
|
if (CTI_CONTINUABLE_WITH_EXAMPLES)
|
|
if(NOT TARGET asio)
|
|
add_subdirectory(asio)
|
|
endif()
|
|
endif()
|
|
|
|
if (CTI_CONTINUABLE_WITH_BENCHMARKS)
|
|
if(NOT TARGET benchmark)
|
|
add_subdirectory(benchmark)
|
|
endif()
|
|
|
|
if(NOT TARGET boost)
|
|
add_subdirectory(boost)
|
|
endif()
|
|
endif()
|