diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-06-08 11:08:50 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-06-08 11:08:50 +0200 |
commit | 53d61d8c52773fc10345282b499d2a45740fcaa8 (patch) | |
tree | ebee321b2ded0f3f615a346ae1473d62b69559af /editor | |
parent | 7f8d255ab9b468cce6b8bac76c2fb066babde5a4 (diff) |
clean up msvc warnings
Diffstat (limited to 'editor')
-rw-r--r-- | editor/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/editor/CMakeLists.txt b/editor/CMakeLists.txt index 3e19248a..81afadd0 100644 --- a/editor/CMakeLists.txt +++ b/editor/CMakeLists.txt @@ -3,11 +3,7 @@ set(self floormat-editor) file(GLOB sources "*.cpp" "tests/*.cpp" CONFIGURE_ARGS) corrade_add_resource(res "../resources.conf") -if(MSVC) - set_property(SOURCE "${res}" APPEND PROPERTY COMPILE_OPTIONS "-W0") -else() - set_property(SOURCE "${res}" APPEND PROPERTY COMPILE_OPTIONS "-w") -endif() +set_property(SOURCE "${res}" APPEND PROPERTY COMPILE_OPTIONS "-w") # no warnings add_library(${self}_o OBJECT "${res}" "${sources}") target_link_libraries(${self}_o PUBLIC MagnumIntegration::ImGui fmt::fmt nlohmann_json::nlohmann_json tsl::robin_map) |