Fix Amarok cmake configure checks

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1228276 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 170978e368
commit 1f05a7fe56

@ -157,7 +157,7 @@ if( WITH_KONQSIDEBAR )
set( CMAKE_REQUIRED_DEFINITIONS ${TQT_CFLAGS_OTHER} ) set( CMAKE_REQUIRED_DEFINITIONS ${TQT_CFLAGS_OTHER} )
set( CMAKE_REQUIRED_INCLUDES ${TDE_INCLUDE_DIR};${TQT_INCLUDE_DIRS};${CMAKE_INCLUDE_PATH} ) set( CMAKE_REQUIRED_INCLUDES ${TDE_INCLUDE_DIR};${TQT_INCLUDE_DIRS};${CMAKE_INCLUDE_PATH} )
set( CMAKE_REQUIRED_FLAGS "-include tqt.h" ) set( CMAKE_REQUIRED_FLAGS "-include tqt.h" )
set( CMAKE_REQUIRED_LIBRARIES -L${QT_LIBRARY_DIRS} ${QT_LIBRARIES} ) set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIRS} ${TQT_LIBRARIES} )
check_cxx_source_compiles(" check_cxx_source_compiles("
#include <konqsidebarplugin.h> #include <konqsidebarplugin.h>
int main(int, char**) { return 0; } " int main(int, char**) { return 0; } "

Loading…
Cancel
Save