diff options
author | flow <flowlnlnln@gmail.com> | 2022-11-16 01:34:15 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-16 01:34:15 -0800 |
commit | 23e411c42bfb30cc3435baeb374c94e5ea0644f6 (patch) | |
tree | e3a05abf3d71df8f96639117c535ad2650a588b3 /CMakeLists.txt | |
parent | cedc7754d96e4c53d50bcce2b2a0f139b840f3d0 (diff) | |
parent | c1763cc4b0871230a86e58aad07aacaf7b19182c (diff) | |
download | PrismLauncher-23e411c42bfb30cc3435baeb374c94e5ea0644f6.tar.gz PrismLauncher-23e411c42bfb30cc3435baeb374c94e5ea0644f6.tar.bz2 PrismLauncher-23e411c42bfb30cc3435baeb374c94e5ea0644f6.zip |
Merge pull request #459 from Scrumplex/bump-tomlplusplus
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0db05f98..8fc0d326 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,6 +70,9 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_DEPRECATED_WARNINGS=Y") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_DISABLE_DEPRECATED_BEFORE=0x050C00") +# Fix aarch64 build for toml++ +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTOML_ENABLE_FLOAT16=0") + # set CXXFLAGS for build targets set(CMAKE_CXX_FLAGS_RELEASE "-O2 -D_FORTIFY_SOURCE=2 ${CMAKE_CXX_FLAGS_RELEASE}") |