diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-09-15 20:59:43 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-09-15 20:59:43 +0300 |
commit | b651b2b371f644ac6a697144080a7e5a988de847 (patch) | |
tree | 30eb717e54ab3d98c3f87074fb44d14d080489c8 | |
parent | update resources (diff) | |
download | privilege-check-b651b2b371f644ac6a697144080a7e5a988de847.tar.gz privilege-check-b651b2b371f644ac6a697144080a7e5a988de847.zip |
link the runtime statically
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index aff5426..1da2b43 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,3 +8,5 @@ add_executable(${PROJECT_NAME} WIN32 ${${PROJECT_NAME}_header_files} ${${PROJECT_NAME}_resource_files}) target_compile_definitions(${PROJECT_NAME} PRIVATE _UNICODE) +set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT") +set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd") |