mape: Add the PCH object to the MSVC build

mape uses several headers from OpenClonk that are marked for
pre-compilation. MSVC does not support using headers flagged as such
without also linking to the object file that gets generated from the
compilation step.
shapetextures
Nicolas Hake 2015-10-19 15:43:28 +02:00
parent 4fcd475e79
commit b32a539474
1 changed files with 1 additions and 0 deletions

View File

@ -892,6 +892,7 @@ endif()
if(HAVE_PRECOMPILED_HEADERS)
if(MSVC_VERSION)
list(INSERT OC_SYSTEM_SOURCES 0 src/C4Include.cpp)
list(INSERT MAPE_SOURCES 0 src/C4Include.cpp)
endif()
endif()