mirror of
https://github.com/redstrate/Astra.git
synced 2025-05-18 07:07:45 +00:00
Don't set -fexceptions on MSVC
This commit is contained in:
parent
c759f2f9b7
commit
52378b59d5
1 changed files with 3 additions and 1 deletions
|
@ -149,7 +149,9 @@ target_link_libraries(astra PRIVATE
|
|||
QCoro::Core
|
||||
QCoro::Network
|
||||
QCoro::Qml)
|
||||
target_compile_options(astra PRIVATE -fexceptions)
|
||||
if (NOT MSVC)
|
||||
target_compile_options(astra PRIVATE -fexceptions)
|
||||
endif ()
|
||||
|
||||
if (BUILD_FLATPAK)
|
||||
target_compile_definitions(astra PRIVATE FLATPAK)
|
||||
|
|
Loading…
Add table
Reference in a new issue