From 53d61d8c52773fc10345282b499d2a45740fcaa8 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 8 Jun 2024 11:08:50 +0200 Subject: clean up msvc warnings --- editor/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'editor') 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) -- cgit v1.2.3