* CMakeLists.txt: Improve MSVC support (#43737).
This commit is contained in:
parent
52c9b1aaf3
commit
2c89e2c97b
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue