diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index 1bff57b136..46ac93e930 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -99,6 +99,7 @@ if(BUILD_EXT_CHIPMUNK) endif(BUILD_EXT_CHIPMUNK) if(BUILD_EXT_FREETYPE) set(FT_WITH_ZLIB ON CACHE BOOL "Use system zlib instead of internal library." FORCE) + set(DISABLE_FORCE_DEBUG_POSTFIX ON CACHE BOOL "" FORCE) add_subdirectory(freetype) target_include_directories(external PUBLIC "freetype/include") target_link_libraries(external freetype) diff --git a/external/pugixml/CMakeLists.txt b/external/pugixml/CMakeLists.txt index d238181107..3d3fbe9c0b 100644 --- a/external/pugixml/CMakeLists.txt +++ b/external/pugixml/CMakeLists.txt @@ -32,4 +32,5 @@ set_target_properties(${target_name} set_target_properties(${target_name} PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}" + INTERFACE_COMPILE_DEFINITIONS PUGIXML_API=__declspec\(dllimport\) )