2016-12-16 01:19:54 +03:00
|
|
|
set(SOURCES InitializeDll.cpp InitializeDll.h)
|
|
|
|
|
|
|
|
add_library(OGLCompiler STATIC ${SOURCES})
|
2017-05-06 10:12:46 +03:00
|
|
|
set_property(TARGET OGLCompiler PROPERTY FOLDER glslang POSITION_INDEPENDENT_CODE ON)
|
2016-12-16 01:19:54 +03:00
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
source_group("Source" FILES ${SOURCES})
|
|
|
|
endif(WIN32)
|
|
|
|
|
2017-05-06 10:12:46 +03:00
|
|
|
install(TARGETS OGLCompiler
|
|
|
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|