1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-06-02 14:05:06 +02:00

Check for KDE4 dev headers, in order for sip icons to show up in delegate. No, I don't have any clue why this fixes it. Stop asking. Go Away.

This commit is contained in:
Leo Franchi 2011-08-09 22:46:50 -04:00
parent 3dbc426954
commit c36373569a

View File

@ -138,19 +138,20 @@ ADD_SUBDIRECTORY( ${THIRDPARTY_DIR}/libportfwd )
macro_optional_find_package(Threads)
macro_log_feature(THREADS_FOUND "Threads" "Threading Library" "" TRUE "" "Platform specific library for threading")
macro_optional_find_package(KDE4)
macro_optional_find_package(KDE4Installed)
# this was used before we had FindKDE4Installed, just leaving it here to keep the flags
# for future kde integration
# macro_optional_find_package(KDE4)
# IF(KDE4_FOUND)
# #KDE4 adds and removes some compiler flags that we don't like
# STRING( REPLACE "-std=iso9899:1990" "" CLEAN_C_FLAGS ${CMAKE_C_FLAGS} )
# SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions" )
# ELSE()
# SET( CLEAN_C_FLAGS ${CMAKE_C_FLAGS} )
# ENDIF()
IF(KDE4_FOUND)
#KDE4 adds and removes some compiler flags that we don't like
STRING( REPLACE "-std=iso9899:1990" "" CLEAN_C_FLAGS ${CMAKE_C_FLAGS} )
SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions" )
ELSE()
SET( CLEAN_C_FLAGS ${CMAKE_C_FLAGS} )
ENDIF()
IF( WIN32 )
find_library(QTSPARKLE_LIBRARIES qtsparkle)