From 0843c5877e4f7cf6a301365810af99751367cb2d Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Thu, 13 Jun 2024 21:09:27 +0300 Subject: [PATCH] Added a comment to reference windres.exe issue. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2d9de5800..b26c893c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -273,6 +273,7 @@ if (WIN32) set_source_files_properties("${CMAKE_CURRENT_BINARY_DIR}/src/windows/simple_event_log.rc" PROPERTIES GENERATED TRUE) if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + # Workaround for a windres.exe issue: https://github.com/boostorg/log/pull/231 list(APPEND CMAKE_RC_FLAGS "--use-temp-file") endif()