Commit 69f981ec authored by Pierre d'Herbemont's avatar Pierre d'Herbemont
Browse files

cmake: Fix Qt4 detection.

parent 59dd8e3a
...@@ -392,13 +392,13 @@ if(Lua_FOUND) ...@@ -392,13 +392,13 @@ if(Lua_FOUND)
endif(Lua_FOUND) endif(Lua_FOUND)
find_package(Qt4) find_package(Qt4)
if(Qt4_FOUND) if(QT4_FOUND)
set(HAVE_QT4 TRUE) set(HAVE_QT4 TRUE)
vlc_check_include_files (qt.h) vlc_check_include_files (qt.h)
vlc_enable_modules(qt4) vlc_enable_modules(qt4)
vlc_add_module_compile_flag(qt4 ${Qt4_CFLAGS} ) vlc_add_module_compile_flag(qt4 ${QT_CFLAGS} )
vlc_module_add_link_libraries(qt4 ${Qt4_LIBRARIES} Qt4) vlc_module_add_link_libraries(qt4 ${QT_LIBRARIES} Qt4)
endif(Qt4_FOUND) endif(QT4_FOUND)
find_package(OpenGL) find_package(OpenGL)
if(OPENGL_FOUND) if(OPENGL_FOUND)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment