Permalink
Browse files

fix a qt finding bug.

  • Loading branch information...
1 parent fc77e88 commit fa6a95b3b055e58bee01b19260fafa219ba24ba1 @wengxt wengxt committed Oct 12, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 CMakeLists.txt
View
@@ -19,10 +19,12 @@ if(WITH_KDE)
endif(KDE4_FOUND)
else(WITH_KDE)
message(STATUS "Not enabling KDE4 integration")
-else(WITH_KDE)
- find_package(Qt4 4.7 REQUIRED COMPONENTS QtCore QtGui QtWebkit QtSql)
endif(WITH_KDE)
+if(NOT HAVE_KDE)
+ find_package(Qt4 4.7 REQUIRED COMPONENTS QtCore QtGui QtWebkit QtSql)
+endif(NOT HAVE_KDE)
+
configure_file(config.h.in config.h)
# uninstall target

0 comments on commit fa6a95b

Please sign in to comment.