summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f1caf516..9c8f7090 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -112,9 +112,11 @@ gui/settingsdialog.cpp
gui/newinstancedialog.cpp
gui/logindialog.cpp
gui/taskdialog.cpp
+gui/browserdialog.cpp
util/pathutils.cpp
util/osutils.cpp
+util/userutil.cpp
java/javautils.cpp
java/annotations.cpp
@@ -130,6 +132,7 @@ gui/settingsdialog.h
gui/newinstancedialog.h
gui/logindialog.h
gui/taskdialog.h
+gui/browserdialog.h
data/appsettings.h
data/inifile.h
@@ -143,6 +146,7 @@ data/loginresponse.h
util/apputils.h
util/pathutils.h
util/osutils.h
+util/userutil.h
multimc_pragma.h
@@ -165,6 +169,7 @@ gui/settingsdialog.ui
gui/newinstancedialog.ui
gui/logindialog.ui
gui/taskdialog.ui
+gui/browserdialog.ui
)
IF(WIN32)
@@ -178,7 +183,7 @@ QT5_WRAP_UI(MULTIMC_UI ${MULTIMC5_UIS})
QT5_ADD_RESOURCES(MULTIMC_QRC multimc.qrc)
add_executable(MultiMC ${MULTIMC_SOURCES} ${MULTIMC_HEADERS} ${MULTIMC_UI} ${MULTIMC_QRC})
-qt5_use_modules(MultiMC Widgets Network)
+qt5_use_modules(MultiMC Widgets Network WebKitWidgets)
target_link_libraries(MultiMC quazip patchlib ${MultiMC_LINK_ADDITIONAL_LIBS})
add_dependencies(MultiMC MultiMCLauncher)
@@ -234,6 +239,8 @@ INSTALL(FILES "${DEST_ACTUAL}" RENAME "${DEST_NAME}" DESTINATION "${DEST}")
ENDMACRO()
+SET(Qt5_DIR $ENV{QTDIR})
+
IF(WIN32)
# Windows