* CMakeLists.txt: Improve MSVC support (#43737).

This commit is contained in:
Werner Lemberg 2015-06-28 11:06:47 +02:00
parent 52c9b1aaf3
commit 2c89e2c97b
2 changed files with 10 additions and 0 deletions

View File

@ -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})

View File

@ -1,3 +1,7 @@
2015-06-28 Werner Lemberg <wl@gnu.org>
* CMakeLists.txt: Improve MSVC support (#43737).
2015-06-28 Werner Lemberg <wl@gnu.org>
[cmake] Check for libraries and create `ftoption.h'.