From b7d4c51979c79ca33d2b80a68dd838fcaabe94b2 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Thu, 23 Jul 2015 19:24:52 -1000 Subject: [PATCH] more precise MSVC specification --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f6e84b..ee5a975 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ set(ATHENA_VERSION add_subdirectory(extern) include_directories(include ${LZO_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}) -if (NOT WIN32) +if (NOT MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") endif() @@ -110,7 +110,7 @@ add_library(AthenaWiiSave include/md5.h include/sha1.h ) -if(NOT WIN32) +if(NOT MSVC) set_source_files_properties(src/aes.cpp PROPERTIES COMPILE_FLAGS -maes) endif()