We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c636502 + f86ff6c commit 2c852e5Copy full SHA for 2c852e5
Async++Config.cmake.in
@@ -0,0 +1,2 @@
1
+find_dependency(Threads)
2
+include("${CMAKE_CURRENT_LIST_DIR}/Async++.cmake")
CMakeLists.txt
@@ -111,6 +111,16 @@ if (NOT USE_CXX_EXCEPTIONS)
111
endif()
112
113
114
+include(CMakePackageConfigHelpers)
115
+configure_package_config_file("${CMAKE_CURRENT_LIST_DIR}/Async++Config.cmake.in"
116
+ "${PROJECT_BINARY_DIR}/Async++Config.cmake"
117
+ INSTALL_DESTINATION cmake
118
+)
119
+
120
+install(FILES "${PROJECT_BINARY_DIR}/Async++Config.cmake"
121
+ DESTINATION cmake
122
123
124
# Install the library and produce a CMake export script
125
install(TARGETS Async++
126
EXPORT Async++
0 commit comments