Revert "Modernise CMake"

This commit is contained in:
John Kessenich
2017-04-28 22:04:24 -06:00
committed by GitHub
parent a01600b8aa
commit cfc69d95af
10 changed files with 130 additions and 141 deletions

View File

@@ -1,11 +1,11 @@
set(SOURCES InitializeDll.cpp InitializeDll.h)
add_library(OGLCompiler STATIC ${SOURCES})
set_property(TARGET OGLCompiler PROPERTY FOLDER glslang POSITION_INDEPENDENT_CODE ON)
set_property(TARGET OGLCompiler PROPERTY FOLDER glslang)
if(WIN32)
source_group("Source" FILES ${SOURCES})
endif(WIN32)
install(TARGETS OGLCompiler
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(TARGETS OGLCompiler
ARCHIVE DESTINATION lib)