Skip to content

Commit d19f135

Browse files
2 parents e0f832d + 9c9c4ec commit d19f135

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,3 @@ install(
257257
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
258258
DESTINATION ${TF_LIB_INSTALL_DIR}/cmake
259259
)
260-
261-
262-

Cpp-TaskflowConfig.cmake.in

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@PACKAGE_INIT@
2+
3+
set_and_check(@PROJECT_NAME@_INCLUDE_DIR "@PACKAGE_TF_INC_INSTALL_DIR@")
4+
5+
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
6+
7+
get_filename_component(@PROJECT_NAME@_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
8+
9+
message(STATUS "@PROJECT_NAME@ found. Headers: ${@PROJECT_NAME@_INCLUDE_DIR}")
10+
11+
check_required_components(@PROJECT_NAME@)

0 commit comments

Comments
 (0)