Skip to content

Commit

Permalink
[c]: install cmake configs under gherkin/
Browse files Browse the repository at this point in the history
Rather than installing `.cmake` files directly under e.g.
`/usr/lib/cmake`, put them in a subdirectory like
`/usr/lib/cmake/gherkin`.

C++ CMake files are currently installed under e.g.
`/usr/lib/cmake/cucumber_gherkin`; I think the leading `cucumber_`
corresponds to the `cucumber::` C++ namespace, which is why I have
chosen just `gherkin` for the C CMake files.
  • Loading branch information
musicinmybrain committed Jan 3, 2025
1 parent d174adb commit 5649f32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ install(

install(
FILES "${project_config}"
DESTINATION "${config_install_dir}")
DESTINATION "${config_install_dir}/gherkin")

install(
EXPORT "${targets_export_name}"
NAMESPACE "${namespace}"
DESTINATION "${config_install_dir}")
DESTINATION "${config_install_dir}/gherkin")

0 comments on commit 5649f32

Please sign in to comment.