CMakeLists: dropped Widgets as not needed

This commit is contained in:
Tal Lancaster
2017-01-18 11:53:19 -07:00
parent 4d2b0439d8
commit 2aad48beb5
+2 -2
View File
@@ -30,7 +30,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/mod
set(CMAKE_AUTOMOC ON)
find_package(Qt5 COMPONENTS Widgets Qml Quick Test REQUIRED)
find_package(Qt5 COMPONENTS Qml Quick Test REQUIRED)
# enable QML debugging
string(TOLOWER "${CMAKE_BUILD_TYPE}" cmake_build_type_lower)
@@ -75,7 +75,7 @@ set(SRC_LIST main.cpp)
add_executable(${PROJECT_NAME} ${SRC_LIST})
# links Qt5Core to the project executable
target_link_libraries(${PROJECT_NAME} Qt5::Widgets Qt5::Qml Qt5::Quick)
target_link_libraries(${PROJECT_NAME} Qt5::Qml Qt5::Quick)
add_subdirectory (mp)