aboutsummaryrefslogtreecommitdiff
path: root/api/logic/CMakeLists.txt
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2021-02-06 15:58:03 +0100
committerPetr Mrázek <peterix@gmail.com>2021-02-06 15:58:03 +0100
commit1868e0ccf1beba675736c1d2c47579854110241e (patch)
tree125e38230b4708c2d0cf93ca52ab5caaf2be947f /api/logic/CMakeLists.txt
parentf8ca96a335acc6d37a2d41e44c2104255bce5e30 (diff)
downloadPrismLauncher-1868e0ccf1beba675736c1d2c47579854110241e.tar.gz
PrismLauncher-1868e0ccf1beba675736c1d2c47579854110241e.tar.bz2
PrismLauncher-1868e0ccf1beba675736c1d2c47579854110241e.zip
GH-3229 fix copy seed button not working for newer worlds
Added the `optional-bare` library and refactored NBT reading code to support this change.
Diffstat (limited to 'api/logic/CMakeLists.txt')
-rw-r--r--api/logic/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logic/CMakeLists.txt b/api/logic/CMakeLists.txt
index 15916bb5..be4318a8 100644
--- a/api/logic/CMakeLists.txt
+++ b/api/logic/CMakeLists.txt
@@ -526,7 +526,7 @@ set_target_properties(MultiMC_logic PROPERTIES CXX_VISIBILITY_PRESET hidden VISI
generate_export_header(MultiMC_logic)
# Link
-target_link_libraries(MultiMC_logic systeminfo MultiMC_quazip MultiMC_classparser ${NBT_NAME} ${ZLIB_LIBRARIES} BuildConfig)
+target_link_libraries(MultiMC_logic systeminfo MultiMC_quazip MultiMC_classparser ${NBT_NAME} ${ZLIB_LIBRARIES} optional-bare BuildConfig)
target_link_libraries(MultiMC_logic Qt5::Core Qt5::Xml Qt5::Network Qt5::Concurrent)
# Mark and export headers