mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-24 12:21:29 +00:00
15 lines
434 B
Text
15 lines
434 B
Text
|
set(SOURCES InitializeDll.cpp InitializeDll.h)
|
||
|
|
||
|
add_library(OGLCompiler STATIC ${SOURCES})
|
||
|
set_property(TARGET OGLCompiler PROPERTY FOLDER glslang)
|
||
|
set_property(TARGET OGLCompiler PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||
|
|
||
|
if(WIN32)
|
||
|
source_group("Source" FILES ${SOURCES})
|
||
|
endif(WIN32)
|
||
|
|
||
|
if(ENABLE_GLSLANG_INSTALL)
|
||
|
install(TARGETS OGLCompiler
|
||
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||
|
endif(ENABLE_GLSLANG_INSTALL)
|