-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export cmake config set with namespace #165
base: master
Are you sure you want to change the base?
Conversation
Use includes with namespace docopt
@@ -45,31 +45,33 @@ jobs: | |||
c_compiler: cl | |||
|
|||
steps: | |||
- uses: actions/checkout@v3 | |||
- uses: actions/checkout@v3 | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would make reviewing easier if whitespace change (in .github/workflows/cmake-multi-platform.yml) were in a separate commit
@@ -41,7 +41,7 @@ set_target_properties(docopt PROPERTIES | |||
SOVERSION ${PROJECT_VERSION_MAJOR} | |||
) | |||
|
|||
target_include_directories(docopt PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include/docopt> $<INSTALL_INTERFACE:include/docopt>) | |||
target_include_directories(docopt PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include> $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAICT this would change the include dir from include/docopt
to just include
, so this would not work.
No description provided.