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
While importing tinyply to a CMake project through FetchContent in such a way,
FetchContent
FetchContent_Declare(tinyply GIT_REPOSITORY https://github.com/ddiakopoulos/tinyply.git GIT_TAG 2.3.4 ) FetchContent_MakeAvailable(tinyply)
The header tinyply.h is not found by the compiler, as if the source subdirectory was not added to include path.
tinyply.h
source
The workaround I am currently using is adding the include path by hand thus:
target_include_directories(${MY_TARGET} PRIVATE "${tinyply_SOURCE_DIR}/source")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
While importing tinyply to a CMake project through
FetchContent
in such a way,The header
tinyply.h
is not found by the compiler, as if thesource
subdirectory was not added to include path.The workaround I am currently using is adding the include path by hand thus:
The text was updated successfully, but these errors were encountered: