Handle install vs build include directories

Fix target_include_directories to appropriately handle build-tree and the install-tree.
This commit is contained in:
James Rumble 2019-08-06 15:29:31 +01:00
parent ab6d1499e1
commit c6f7294ced
No known key found for this signature in database
GPG key ID: 30529E12F7B25BCC
8 changed files with 23 additions and 15 deletions

View file

@ -22,5 +22,5 @@ endif()
if(ENABLE_GLSLANG_INSTALL)
install(TARGETS OSDependent EXPORT OSDependentTargets
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(EXPORT OSDependentTargets DESTINATION ${LIB_INSTALL_DIR}/cmake)
install(EXPORT OSDependentTargets DESTINATION lib/cmake)
endif(ENABLE_GLSLANG_INSTALL)