copy basic dlls for mapnik-demo

This commit is contained in:
Mathis Logemann 2021-03-24 23:28:36 +01:00
parent e963af53a5
commit 772e50ba79

View file

@ -9,3 +9,9 @@ install(TARGETS mapnik-demo
ARCHIVE DESTINATION ${MAPNIK_ARCHIVE_DIR} ARCHIVE DESTINATION ${MAPNIK_ARCHIVE_DIR}
RUNTIME DESTINATION ${MAPNIK_BIN_DIR} RUNTIME DESTINATION ${MAPNIK_BIN_DIR}
) )
if(COPY_LIBRARIES_FOR_EXECUTABLES AND WIN32)
include(CopyDllsForDebug)
add_custom_command(TARGET mapnik-demo POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy "$<TARGET_FILE:mapnik::mapnik>" ${CMAKE_CURRENT_BINARY_DIR})
copy_dlls_for_debug(mapnik-demo \"\" \"${ADDITIONAL_LIBARIES_PATHS}\")
endif()