mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-01 20:10:56 +01:00
690dee3533
This updates glslang to commit 4fc7a33910fb8e40b970d160e1b38ab3f67fe0f3 which is the current version listed in the known_good.json file for the version 1.2.131.2 of the Vulkan-ValidationLayers repo.
16 lines
538 B
CMake
16 lines
538 B
CMake
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 EXPORT OGLCompilerTargets
|
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
|
install(EXPORT OGLCompilerTargets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake)
|
|
endif(ENABLE_GLSLANG_INSTALL)
|