1set(SOURCES InitializeDll.cpp InitializeDll.h) 2 3add_library(OGLCompiler STATIC ${SOURCES}) 4set_property(TARGET OGLCompiler PROPERTY FOLDER glslang) 5set_property(TARGET OGLCompiler PROPERTY POSITION_INDEPENDENT_CODE ON) 6 7if(WIN32) 8 source_group("Source" FILES ${SOURCES}) 9endif(WIN32) 10 11if(ENABLE_GLSLANG_INSTALL) 12 install(TARGETS OGLCompiler 13 ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) 14endif(ENABLE_GLSLANG_INSTALL) 15