Skip to content

Commit

Permalink
Force STATIC for internal GZDoom SPIRV library
Browse files Browse the repository at this point in the history
This makes sure the internal version of this library bundled with the
GZDoom source code is used. This prevents the system from building
GZDoom for dynamic linking with an incompatible external library (see
commit 6fafa29 and
<https://forum.zdoom.org/viewtopic.php?f=2&t=64633>).
  • Loading branch information
vilhelmgray authored and alexey-lysiuk committed Jun 21, 2020
1 parent f7bec90 commit 63aeea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/glslang/spirv/CMakeLists.txt
Expand Up @@ -49,7 +49,7 @@ set(SPVREMAP_HEADERS
SPVRemapper.h
doc.h)

add_library(SPIRV ${LIB_TYPE} ${SOURCES} ${HEADERS})
add_library(SPIRV STATIC ${LIB_TYPE} ${SOURCES} ${HEADERS})
set_property(TARGET SPIRV PROPERTY FOLDER glslang)
set_property(TARGET SPIRV PROPERTY POSITION_INDEPENDENT_CODE ON)
target_include_directories(SPIRV PUBLIC
Expand Down

0 comments on commit 63aeea5

Please sign in to comment.