Handle install vs build include directories
Fix target_include_directories to appropriately handle build-tree and the install-tree.
This commit is contained in:
@@ -41,5 +41,5 @@ if(ENABLE_GLSLANG_INSTALL)
|
||||
install(TARGETS HLSL EXPORT HLSLTargets
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
endif()
|
||||
install(EXPORT HLSLTargets DESTINATION ${LIB_INSTALL_DIR}/cmake)
|
||||
install(EXPORT HLSLTargets DESTINATION lib/cmake)
|
||||
endif(ENABLE_GLSLANG_INSTALL)
|
||||
|
||||
Reference in New Issue
Block a user