Update CMakeLists.txt
This commit is contained in:
parent
f8f494ff14
commit
42b6926192
@ -93,10 +93,14 @@ if(WIN32)
|
|||||||
source_group("MachineIndependent\\Preprocessor" REGULAR_EXPRESSION "MachineIndependent/preprocessor/*")
|
source_group("MachineIndependent\\Preprocessor" REGULAR_EXPRESSION "MachineIndependent/preprocessor/*")
|
||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
|
|
||||||
install(TARGETS glslang
|
if(ENABLE_GLSLANG_INSTALL)
|
||||||
|
install(TARGETS glslang
|
||||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
|
endif(ENABLE_GLSLANG_INSTALL)
|
||||||
|
|
||||||
foreach(file ${HEADERS})
|
if(ENABLE_GLSLANG_INSTALL)
|
||||||
|
foreach(file ${HEADERS})
|
||||||
get_filename_component(dir ${file} DIRECTORY)
|
get_filename_component(dir ${file} DIRECTORY)
|
||||||
install(FILES ${file} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/glslang/${dir})
|
install(FILES ${file} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/glslang/${dir})
|
||||||
endforeach()
|
endforeach()
|
||||||
|
endif(ENABLE_GLSLANG_INSTALL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user