1
Fork 0
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:
Joshua Goins 2024-04-26 14:27:23 -04:00
parent c759f2f9b7
commit 52378b59d5

View file

@ -149,7 +149,9 @@ target_link_libraries(astra PRIVATE
QCoro::Core QCoro::Core
QCoro::Network QCoro::Network
QCoro::Qml) QCoro::Qml)
target_compile_options(astra PRIVATE -fexceptions) if (NOT MSVC)
target_compile_options(astra PRIVATE -fexceptions)
endif ()
if (BUILD_FLATPAK) if (BUILD_FLATPAK)
target_compile_definitions(astra PRIVATE FLATPAK) target_compile_definitions(astra PRIVATE FLATPAK)