mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
make compile with clang
This commit is contained in:
4
thirdparty/breakpad/CMakeLists.txt
vendored
4
thirdparty/breakpad/CMakeLists.txt
vendored
@@ -6,7 +6,9 @@ set( CMAKE_MODULE_PATH
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules
|
||||
)
|
||||
|
||||
add_definitions(-DSTDC_HEADERS -std=gnu++98)
|
||||
if( CMAKE_COMPILER_IS_GNUCXX )
|
||||
add_definitions(-DSTDC_HEADERS -std=gnu++98)
|
||||
endif()
|
||||
|
||||
if(${CMAKE_BUILD_TYPE} MATCHES "Release")
|
||||
add_definitions(-DNDEBUG)
|
||||
|
Reference in New Issue
Block a user