mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
Remove obsolete FindKDE4Installed.cmake
This commit is contained in:
committed by
Dominik Schmidt
parent
d7b9c5464d
commit
25da5bdbc5
@@ -1,20 +0,0 @@
|
|||||||
# Simple hack to detect wether KDE4 is *installed* -- not anything about the development environment!
|
|
||||||
|
|
||||||
FILE(TO_CMAKE_PATH "$ENV{KDEDIRS}" _KDEDIRS)
|
|
||||||
|
|
||||||
# For KDE4 kde-config has been renamed to kde4-config
|
|
||||||
FIND_PROGRAM(KDE4_KDECONFIG_EXECUTABLE NAMES kde4-config
|
|
||||||
# the suffix must be used since KDEDIRS can be a list of directories which don't have bin/ appended
|
|
||||||
PATH_SUFFIXES bin
|
|
||||||
HINTS
|
|
||||||
${CMAKE_INSTALL_PREFIX}
|
|
||||||
${_KDEDIRS}
|
|
||||||
/opt/kde4
|
|
||||||
ONLY_CMAKE_FIND_ROOT_PATH
|
|
||||||
)
|
|
||||||
|
|
||||||
IF (KDE4_KDECONFIG_EXECUTABLE)
|
|
||||||
SET (KDE4_INSTALLED TRUE)
|
|
||||||
message(STATUS "KDE4 is installed, will install protocol file")
|
|
||||||
ENDIF (KDE4_KDECONFIG_EXECUTABLE)
|
|
||||||
|
|
Reference in New Issue
Block a user