Skip to content

Commit

Permalink
Check for MSVC (See Polytonic#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Polytonic committed Aug 29, 2015
1 parent 6280cda commit 3578214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.0)
project(Glitter)

if(WIN32)
if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4")
else()
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wpedantic -std=c++1y")
Expand Down

0 comments on commit 3578214

Please sign in to comment.