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:
David Neto
2016-06-02 14:37:24 -04:00
parent 98f2b3bfe0
commit b37dc0e458
3 changed files with 14 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ if (TARGET gmock)
add_executable(glslangtests ${TEST_SOURCES})
set_property(TARGET glslangtests PROPERTY FOLDER tests)
glslang_set_link_args(glslangtests)
install(TARGETS glslangtests
RUNTIME DESTINATION bin)