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:
parent
7d6a7101c9
commit
91b08cb4a3
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user