1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 15:47:38 +02:00

Fix libechonest detection for Qt5

This commit is contained in:
Dominik Schmidt
2015-01-29 06:11:11 +01:00
parent 001d936aae
commit ca13bb6839

View File

@@ -264,10 +264,12 @@ if( NOT Qt5Core_DIR )
endif()
if( Qt5Core_DIR )
set( TOMAHAWK_QT5 TRUE )
set( TOMAHAWK_QT5_TMP TRUE)
else( Qt5Core_DIR )
set( TOMAHAWK_QT5 FALSE )
set( TOMAHAWK_QT5_TMP FALSE )
endif( Qt5Core_DIR )
set( TOMAHAWK_QT5 ${TOMAHAWK_QT5_TMP} CACHE BOOL "Build Tomahawk with Qt5")
if( BUILD_GUI AND UNIX AND NOT APPLE )
macro_optional_find_package( X11 )