1
0
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:
Leo Franchi
2011-09-15 08:44:22 -04:00
parent 903ea66b36
commit 4e09f52b22

View File

@@ -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)