From 84289a2ba996b41815f148f27aecc52a7864066d Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Sun, 10 May 2020 17:16:49 +0100 Subject: Cleanup some workarounds and warnings (#4735) * Cleanup thread_local usage in FastRandom * Use constexpr to avoid clang warning * Fix more Wglobal-constructor warnings * Make MSVC happy? --- src/Generating/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/Generating/CMakeLists.txt') diff --git a/src/Generating/CMakeLists.txt b/src/Generating/CMakeLists.txt index f01647d0e..713e5b8c9 100644 --- a/src/Generating/CMakeLists.txt +++ b/src/Generating/CMakeLists.txt @@ -67,10 +67,6 @@ SET (HDRS VillageGen.h ) -if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") - set_source_files_properties(CompoGenBiomal.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=global-constructors") -endif() - if(NOT MSVC) add_library(Generating ${SRCS} ${HDRS}) target_link_libraries(Generating fmt::fmt OSSupport Blocks Bindings) -- cgit v1.2.3