]> git.sesse.net Git - vlc/commitdiff
cmake: Fix Qt4 detection.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 8 Feb 2008 15:24:53 +0000 (15:24 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 8 Feb 2008 15:24:53 +0000 (15:24 +0000)
extras/buildsystem/cmake/include/config.cmake

index f95b0015a8b7ba0a2087f1953227a476dc2af2e9..946046b3bf064b59be82e933d03aa00142805ba0 100644 (file)
@@ -392,13 +392,13 @@ if(Lua_FOUND)
 endif(Lua_FOUND)
 
 find_package(Qt4)
-if(Qt4_FOUND)
+if(QT4_FOUND)
   set(HAVE_QT4 TRUE)
   vlc_check_include_files (qt.h)
   vlc_enable_modules(qt4)
-  vlc_add_module_compile_flag(qt4 ${Qt4_CFLAGS} )
-  vlc_module_add_link_libraries(qt4 ${Qt4_LIBRARIES} Qt4)
-endif(Qt4_FOUND)
+  vlc_add_module_compile_flag(qt4 ${QT_CFLAGS} )
+  vlc_module_add_link_libraries(qt4 ${QT_LIBRARIES} Qt4)
+endif(QT4_FOUND)
 
 find_package(OpenGL)
 if(OPENGL_FOUND)