aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@users.noreply.github.com>2021-12-30 20:00:45 +0100
committerGitHub <noreply@github.com>2021-12-30 20:00:45 +0100
commit3efcccf334e28d03605dd0597f53f900105cf04b (patch)
treeecafd89c7eb90d04f428c907da86c7d6b134c166 /CMakeLists.txt
parent5e909a4e852a5bf3ba9dec9081b4839773bfc0ce (diff)
parentf42c3a953c15b01632131435e4885f9acc3b1f1a (diff)
downloadPrismLauncher-3efcccf334e28d03605dd0597f53f900105cf04b.tar.gz
PrismLauncher-3efcccf334e28d03605dd0597f53f900105cf04b.tar.bz2
PrismLauncher-3efcccf334e28d03605dd0597f53f900105cf04b.zip
Merge pull request #4345 from graemeg/freebsd-support
Adds FreeBSD support to MultiMC
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a0a8c5ec..d1c6ac3b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,6 +47,9 @@ if(UNIX AND APPLE)
endif()
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Werror=return-type")
+# Fix build with Qt 5.13
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_DEPRECATED_WARNINGS=Y")
+
##################################### Set Application options #####################################
######## Set URLs ########