Skip to content

Commit

Permalink
Install redirection headers for CLI
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Apr 28, 2022
1 parent 69b006a commit 50f8dbd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
# target_include_directories(@tgt@ INTERFACE "$<BUILD_INTERFACE:@incl_dirs>")
# that for the usual include directories are handled by ign_add_component
if(IGN_UTILS_VENDOR_CLI11)
add_subdirectory(vendored-cli/gz/utils)
add_subdirectory(vendored-cli)
target_include_directories(${gz_utils_cli_target_name}
INTERFACE
"$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/cli/include/vendored-cli>")
else()
add_subdirectory(external-cli/gz/utils)
add_subdirectory(external-cli)
target_include_directories(${gz_utils_cli_target_name}
INTERFACE
"$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/cli/include/external-cli>")
Expand Down
2 changes: 2 additions & 0 deletions cli/include/external-cli/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
add_subdirectory(gz/utils)
install(DIRECTORY ignition DESTINATION ${IGN_INCLUDE_INSTALL_DIR_FULL})
2 changes: 2 additions & 0 deletions cli/include/vendored-cli/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
add_subdirectory(gz/utils)
install(DIRECTORY ignition DESTINATION ${IGN_INCLUDE_INSTALL_DIR_FULL})

0 comments on commit 50f8dbd

Please sign in to comment.