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.
11 lines
438 B
CMake
11 lines
438 B
CMake
# Makes it possible to find continuable through find_package(continuable REQUIRED)
|
|
# when this source directory was added to the CMake module path.
|
|
# For instance it could be done through adding this to the CMakeLists.txt
|
|
# file in the parent directory:
|
|
# ```cmake
|
|
# list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/continuable")
|
|
# ```
|
|
|
|
set(CTI_CONTINUABLE_IS_FIND_INCLUDED ON)
|
|
include("${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt")
|