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