2
0
mirror of https://github.com/boostorg/compute.git synced 2026-01-27 18:52:15 +00:00

Merge pull request #203 from f-koehler/master

explicitly look for Qt4 and not for Qt in general
This commit is contained in:
Kyle Lutz
2014-07-29 18:30:16 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ endif()
# qt examples
if(${BOOST_COMPUTE_HAVE_QT})
find_package(Qt REQUIRED COMPONENTS QtCore QtGui QtOpenGL)
find_package(Qt4 REQUIRED COMPONENTS QtCore QtGui QtOpenGL)
set(CMAKE_AUTOMOC TRUE)
set(QT_USE_QTOPENGL TRUE)
include(${QT_USE_FILE})

View File

@@ -180,7 +180,7 @@ endif()
# qt interop tests
if(${BOOST_COMPUTE_HAVE_QT})
find_package(Qt REQUIRED COMPONENTS QtCore QtGui QtOpenGL)
find_package(Qt4 REQUIRED COMPONENTS QtCore QtGui QtOpenGL)
include(${QT_USE_FILE})
add_compute_test("interop.qt" test_interop_qt.cpp)
target_link_libraries(test_interop_qt ${QT_LIBRARIES})