Skip to content

Commit

Permalink
Fix compilation with clang
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesSommer committed May 9, 2017
1 parent b548428 commit 534842a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/yaml-cpp-pm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ if(WIN32)
endif()
endif()

# GCC specialities
if(CMAKE_COMPILER_IS_GNUCXX)
# GCC / Clang specialities
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
### General stuff
if(WIN32)
set(CMAKE_SHARED_LIBRARY_PREFIX "") # DLLs do not have a "lib" prefix
Expand Down

0 comments on commit 534842a

Please sign in to comment.