mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
fix: suppress sfinae-incomplete warning
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
7fcadcd7a2
commit
993eb40481
1 changed files with 4 additions and 2 deletions
|
|
@ -1491,8 +1491,10 @@ if (CMAKE_CXX_COMPILER_FRONTEND_VARIANT STREQUAL "MSVC")
|
||||||
target_compile_options(Launcher_logic PRIVATE /wd4100) # C4100 - unused parameter
|
target_compile_options(Launcher_logic PRIVATE /wd4100) # C4100 - unused parameter
|
||||||
target_compile_options(${Launcher_Name} PRIVATE /wd4100) # C4100 - unused parameter
|
target_compile_options(${Launcher_Name} PRIVATE /wd4100) # C4100 - unused parameter
|
||||||
else()
|
else()
|
||||||
target_compile_options(Launcher_logic PRIVATE -Wno-unused-parameter -Wno-missing-field-initializers)
|
# sfinae-incomplete is a new GCC warning and triggers in Qt headers
|
||||||
target_compile_options(${Launcher_Name} PRIVATE -Wno-unused-parameter -Wno-missing-field-initializers)
|
# no-unknown-warning-option so that compilers that don't have sfinae-incomplete don't error
|
||||||
|
target_compile_options(Launcher_logic PRIVATE -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unknown-warning-option -Wno-sfinae-incomplete)
|
||||||
|
target_compile_options(${Launcher_Name} PRIVATE -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unknown-warning-option -Wno-sfinae-incomplete)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#### The bundle mess! ####
|
#### The bundle mess! ####
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue