Handle install vs build include directories
Fix target_include_directories to appropriately handle build-tree and the install-tree.
This commit is contained in:
parent
ab6d1499e1
commit
c6f7294ced
8 changed files with 23 additions and 15 deletions
|
|
@ -33,7 +33,7 @@ if(BUILD_TESTING)
|
|||
if(ENABLE_GLSLANG_INSTALL)
|
||||
install(TARGETS glslangtests EXPORT glslangtestsTargets
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
install(EXPORT glslangtestsTargets DESTINATION ${LIB_INSTALL_DIR}/cmake)
|
||||
install(EXPORT glslangtestsTargets DESTINATION lib/cmake)
|
||||
endif(ENABLE_GLSLANG_INSTALL)
|
||||
|
||||
set(GLSLANG_TEST_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../Test")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue