From 8d184b12e28125034c1ad002f6ab54b492ea304b Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Mon, 1 Feb 2021 04:24:45 +0200 Subject: [PATCH] Update CMakeLists.txt --- vendor/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vendor/CMakeLists.txt b/vendor/CMakeLists.txt index 140c7c80..2f5b87fc 100644 --- a/vendor/CMakeLists.txt +++ b/vendor/CMakeLists.txt @@ -34,3 +34,7 @@ set(ENABLE_PAGECOMPILER_FILE2PAGE OFF CACHE INTERNAL "" FORCE) set(ENABLE_TESTS OFF CACHE INTERNAL "" FORCE) set(POCO_UNBUNDLED OFF CACHE INTERNAL "" FORCE) add_subdirectory(POCO) +# Windows gets stupid sometimes +if (WIN32 AND MINGW) + target_compile_definitions(Foundation PUBLIC POCO_NO_FPENVIRONMENT=1) +endif()