Skip to content

Commit 4a688a1

Browse files
committed
more precise MSVC specification
1 parent bfb1422 commit 4a688a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set(ATHENA_VERSION
1818
add_subdirectory(extern)
1919

2020
include_directories(include ${LZO_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
21-
if (NOT WIN32)
21+
if (NOT MSVC)
2222
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
2323
endif()
2424

@@ -110,7 +110,7 @@ add_library(AthenaWiiSave
110110
include/md5.h
111111
include/sha1.h
112112
)
113-
if(NOT WIN32)
113+
if(NOT MSVC)
114114
set_source_files_properties(src/aes.cpp PROPERTIES COMPILE_FLAGS -maes)
115115
endif()
116116

0 commit comments

Comments
 (0)