Skip to content

Commit d174adb

Browse files
[c]: install headers under cucumber/gherkin/
Rather than installing all the C headers directly under e.g. `/usr/include`, put them in a subdirectory like `/usr/include/cucumber/gherkin`. This is *not* the same directory as the C++ headers, which have an extra `cucumber/` corresponding to the `cucumber::` C++ namespace, e.g. `/usr/include/cucumber/cucumber/gherkin/`. See cucumber/messages#267 (comment).
1 parent d0d7a26 commit d174adb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ install(
154154

155155
install(
156156
DIRECTORY "${PROJECT_SOURCE_DIR}/include/"
157-
DESTINATION ${include_install_dir}
157+
DESTINATION ${include_install_dir}/cucumber/gherkin
158158
FILES_MATCHING PATTERN "*.*h")
159159

160160
install(

0 commit comments

Comments
 (0)