From 8675ff660caefaf6ce5c6ce4318c7609b6b1aa6e Mon Sep 17 00:00:00 2001 From: lethosor Date: Fri, 4 Oct 2019 13:15:58 -0400 Subject: [PATCH] Windows+Ninja: Fix build error due to trying to include " dfhack_llimits.h" Ref #1455 --- depends/lua/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/depends/lua/CMakeLists.txt b/depends/lua/CMakeLists.txt index 17bb2d73e..5c01eae89 100644 --- a/depends/lua/CMakeLists.txt +++ b/depends/lua/CMakeLists.txt @@ -96,8 +96,8 @@ ADD_LIBRARY ( lua SHARED ${SRC_LIBLUA} ) TARGET_LINK_LIBRARIES ( lua ${LIBS}) if (MSVC) - # need quotes to prevent /FI from being stripped: https://github.com/DFHack/dfhack/issues/1455 - target_compile_options(lua PRIVATE "/FI dfhack_llimits.h") + # need no space to prevent /FI from being stripped: https://github.com/DFHack/dfhack/issues/1455 + target_compile_options(lua PRIVATE "/FIdfhack_llimits.h") else () target_compile_options(lua PRIVATE -include dfhack_llimits.h) endif ()