Removed default path to Qt5 widgets in cmake configuration. Should instead be provided by user with CMAKE_PREFIX_PATH pointing to Qt root directory.
This commit is contained in:
parent
c78a4a6ab7
commit
f1eb1296e4
|
@ -1,10 +1,6 @@
|
||||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||||
set(CMAKE_AUTOMOC ON)
|
set(CMAKE_AUTOMOC ON)
|
||||||
|
|
||||||
# Replace the path in the quotations to the folder that contains
|
|
||||||
# the Qt5WidgetsConfig.cmake file. Otherwise, CMake will not be able
|
|
||||||
# to find the libraries required to build the GUI
|
|
||||||
set(Qt5Widgets_DIR "/Users/ryan/Qt/5.5/clang_64/lib/cmake/Qt5Widgets" CACHE STRING "Path to the Qt5WidgetsConfig.cmake file.")
|
|
||||||
find_package(Qt5Widgets)
|
find_package(Qt5Widgets)
|
||||||
|
|
||||||
qt5_add_resources(fea_gui_resources fea_gui.qrc)
|
qt5_add_resources(fea_gui_resources fea_gui.qrc)
|
||||||
|
|
Loading…
Reference in New Issue