Skip to content

Commit

Permalink
Merge pull request #203 from f-koehler/master
Browse files Browse the repository at this point in the history
explicitly look for Qt4 and not for Qt in general
  • Loading branch information
kylelutz committed Jul 30, 2014
2 parents 2cb564c + b70df00 commit 8a11a32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 8a11a32

Please sign in to comment.