Skip to content

Commit

Permalink
cmake: Don't require QT when ENABLE_GUI is set to AUTO.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfonseca committed Jan 6, 2015
1 parent b23cbe0 commit e966b70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ if (ENABLE_GUI)
if (POLICY CMP0020)
cmake_policy (SET CMP0020 NEW)
endif()
find_package (Qt5Widgets REQUIRED)
find_package (Qt5WebKitWidgets REQUIRED)
find_package (Qt5Widgets ${REQUIRE_GUI})
find_package (Qt5WebKitWidgets ${REQUIRE_GUI})
endif ()

if (WIN32)
Expand Down

0 comments on commit e966b70

Please sign in to comment.