Skip to content

Commit

Permalink
Merge 8913acc into 135a6f6
Browse files Browse the repository at this point in the history
  • Loading branch information
mjcarroll authored Apr 19, 2023
2 parents 135a6f6 + 8913acc commit 2775880
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
10 changes: 9 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@ find_package(gz-cmake3 REQUIRED)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

gz_configure_project(VERSION_SUFFIX)
gz_configure_project(
CONFIG_EXTRAS "extras.cmake.in"
)

# Install cmake support files
install(
DIRECTORY cmake/
DESTINATION "lib/cmake/${PROJECT_NAME}"
)

#============================================================================
# Set project-specific options
Expand Down
1 change: 1 addition & 0 deletions cmake/foo.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
message(STATUS "I am here")
1 change: 1 addition & 0 deletions extras.cmake.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include(${@PROJECT_NAME@_DIR}/foo.cmake)

0 comments on commit 2775880

Please sign in to comment.