diff --git a/CMakeLists.txt b/CMakeLists.txt index 218b44090..dc2a74f01 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -303,6 +303,12 @@ if (BUILD_FRAMEWORK) endif () +if (MSVC) + set_target_properties(freetype PROPERTIES + COMPILE_FLAGS /Fd"$(IntDir)$(TargetName).pdb") +endif () + + if (ZLIB_FOUND) target_link_libraries(freetype ${ZLIB_LIBRARIES}) include_directories(${ZLIB_INCLUDE_DIRS}) diff --git a/ChangeLog b/ChangeLog index f3e14efca..320b9c8a5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-06-28 Werner Lemberg + + * CMakeLists.txt: Improve MSVC support (#43737). + 2015-06-28 Werner Lemberg [cmake] Check for libraries and create `ftoption.h'.