more precise MSVC specification

This commit is contained in:
Jack Andersen 2015-07-23 19:24:52 -10:00 committed by Phillip Stephens
parent ac36bb4f4a
commit b7d4c51979
1 changed files with 2 additions and 2 deletions

View File

@ -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()