For MinGW, statically link exes against basic runtimes
Avoids the need to ship basic runtimes like libgcc_s_sjlj-1.dll with the executables.
This commit is contained in:
parent
98f2b3bfe0
commit
b37dc0e458
3 changed files with 14 additions and 0 deletions
|
|
@ -15,6 +15,8 @@ add_executable(glslangValidator ${SOURCES})
|
|||
add_executable(spirv-remap ${REMAPPER_SOURCES})
|
||||
set_property(TARGET glslangValidator PROPERTY FOLDER tools)
|
||||
set_property(TARGET spirv-remap PROPERTY FOLDER tools)
|
||||
glslang_set_link_args(glslangValidator)
|
||||
glslang_set_link_args(spirv-remap)
|
||||
|
||||
set(LIBRARIES
|
||||
glslang
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue