1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-15 10:48:33 +01:00

Don't set the g++ warning flags on c files. Thanks christoph.gysin. Fixes issue #108

This commit is contained in:
David Sansome 2010-03-24 16:45:44 +00:00
parent 7d6a7101c9
commit 91b08cb4a3

View File

@ -1,5 +1,8 @@
cmake_minimum_required(VERSION 2.6)
set(CMAKE_C_FLAGS "-Wall")
set(CMAKE_CXX_FLAGS "-Wnon-virtual-dtor -Woverloaded-virtual -Wall")
# Source files
set(CLEMENTINE-SOURCES
mainwindow.cpp
@ -238,11 +241,6 @@ add_executable(clementine
)
target_link_libraries(clementine clementine_lib)
set_property(TARGET clementine clementine_lib
PROPERTY COMPILE_FLAGS
"-Wnon-virtual-dtor -Woverloaded-virtual -Wall"
)
set_target_properties(clementine PROPERTIES
MACOSX_BUNDLE_INFO_STRING "Clementine 0.2"
MACOSX_BUNDLE_ICON_FILE "clementine"