diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-14 09:14:22 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-14 09:14:22 +0300 |
commit | 1f9db8a34a0ef722661ea08313a5962dd36f637a (patch) | |
tree | 0d2b83866e5f159d7370fe3e851bae66e7e59548 | |
parent | turn on /MP for multi-core compilation (diff) | |
download | privilege-check-1f9db8a34a0ef722661ea08313a5962dd36f637a.tar.gz privilege-check-1f9db8a34a0ef722661ea08313a5962dd36f637a.zip |
link the runtime statically on MinGW, not GCC
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a7ac5b9..b064826 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,7 @@ if(MSVC) target_compile_options(${PROJECT_NAME} PRIVATE $<$<CONFIG:Release>:/MT> $<$<CONFIG:Debug>:/MTd>) -elseif(CMAKE_COMPILER_IS_GNUCXX) +elseif(MINGW) target_link_libraries(${PROJECT_NAME} PRIVATE -static-libgcc -static-libstdc++) |