From 1773b327fb7611429a572020e4649b05358c911e Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Sun, 23 Feb 2020 16:22:31 -0600 Subject: Correct usage of add_compile_definitions --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 487ca18..2bad805 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -564,9 +564,7 @@ endif () set (EXE_EXT "") if (WIN32 OR MINGW) set (EXE_EXT ".exe") - add_compile_definitions (-D_BIND_TO_CURRENT_VCLIBS_VERSION=1) - add_compile_definitions (-D_CRT_SECURE_NO_WARNINGS) - add_compile_definitions (-D_CONSOLE) + add_compile_definitions (_BIND_TO_CURRENT_VCLIBS_VERSION=1 _CRT_SECURE_NO_WARNINGS _CONSOLE) endif () if (MSVC) -- cgit v0.12