Skip to content

Commit

Permalink
Fix GCC-types flags appended on Clang-cl (jbeder#659)
Browse files Browse the repository at this point in the history
  • Loading branch information
pent0 authored and jbeder committed Jan 6, 2019
1 parent abf941b commit b87c76a
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
Expand Up @@ -144,7 +144,7 @@ endif()

# GCC or Clang or Intel Compiler specialities
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR
CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR
(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT "x${CMAKE_CXX_SIMULATE_ID}" STREQUAL "xMSVC") OR
CMAKE_CXX_COMPILER_ID MATCHES "Intel")

### General stuff
Expand Down

0 comments on commit b87c76a

Please sign in to comment.