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
I would recommend not using absolute paths as install destination like those:
install(TARGETS uvgrtp ARCHIVE DESTINATION /usr/local/lib ) install(DIRECTORY include/ DESTINATION /usr/local/include/uvgrtp FILES_MATCHING PATTERN "*.hh" )
Maye you could use something like this ?:
# Define install target, install libraries and archives (static libraries) to "<prefix>/lib" install(TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}Targets LIBRARY DESTINATION lib ARCHIVE DESTINATION lib INCLUDES DESTINATION include) #Copy all header files to the <prefix>/include/<projectName> directory with subdirectories retained install(DIRECTORY ${CMAKE_SOURCE_DIR}/${PROJECT_NAME} DESTINATION include FILES_MATCHING PATTERN "*.hh")
The text was updated successfully, but these errors were encountered:
Hi,
please open a pull request, I can test it at some point and give it LGMT.
Sorry, something went wrong.
K, will do that when I have the time.
Merged with #44
No branches or pull requests
I would recommend not using absolute paths as install destination like those:
Maye you could use something like this ?:
The text was updated successfully, but these errors were encountered: