We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When logfault is included in another project via CMake FetchContent, compilation of general_tests.cpp fails with logfault.h not found
FetchContent_Declare( logfault GIT_REPOSITORY https://github.com/jgaa/logfault ) FetchContent_MakeAvailable(logfault) target_link_libraries( myProgram PRIVATE logfault )
This is due to the include_directories statement using CMAKE_SOURCE_DIR rather than PROJECT_SOURCE_DIR
CMAKE_SOURCE_DIR
PROJECT_SOURCE_DIR
It would also be desirable to add a CMake option to omit building tests.
The text was updated successfully, but these errors were encountered:
Fix Issue jgaa#7 - tests compilation fails when included in another p…
a65589b
…roject. Also add option to turn off build tests
Merge pull request #8 from craigpepper/issue-007
bf4d90b
Fix Issue #7 - tests compilation fails when included in another project. Also add option to turn off build tests
@craigpepper I merged your PR for this. Thank you!
Sorry, something went wrong.
No branches or pull requests
When logfault is included in another project via CMake FetchContent, compilation of general_tests.cpp fails with logfault.h not found
This is due to the include_directories statement using
CMAKE_SOURCE_DIR
rather thanPROJECT_SOURCE_DIR
It would also be desirable to add a CMake option to omit building tests.
The text was updated successfully, but these errors were encountered: