diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-18 10:21:41 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-18 10:27:54 +0100 |
commit | 41d3bbf3f3783b70a4a47e18478c227d12e73b06 (patch) | |
tree | 86a945b7c6b703ad11806ab8fd4b6cb1be766f5a /external | |
parent | 2c51f2caa6ffe1334670d8c43b919f8dc4abb98a (diff) |
now disable rtti
Diffstat (limited to 'external')
-rw-r--r-- | external/CMakeLists.txt | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index 76e8753d..6b344641 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -243,20 +243,19 @@ if(FLOORMAT_SUBMODULE-DEPENDENCIES) fm_add_sdl2() #fm_add_luajit() if(MSVC) - #add_compile_options(-GR-) + add_compile_options(-GR-) else() - #add_compile_options(-fno-rtti) + add_compile_options(-fno-rtti) endif() add_subdirectory(fmt) add_subdirectory(json) add_subdirectory(corrade) if(MSVC) - #target_compile_options(CorradeTestSuiteObjects PUBLIC -GR) - #target_compile_options(CorradeTestSuite PUBLIC -GR) - + target_compile_options(CorradeTestSuiteObjects PUBLIC -GR) + target_compile_options(CorradeTestSuite PUBLIC -GR) else() - #target_compile_options(CorradeTestSuiteObjects PUBLIC -frtti) - #target_compile_options(CorradeTestSuite PUBLIC -frtti) + target_compile_options(CorradeTestSuiteObjects PUBLIC -frtti) + target_compile_options(CorradeTestSuite PUBLIC -frtti) endif() add_subdirectory(magnum) add_subdirectory(magnum-plugins) |