copy basic dlls for mapnik-demo
This commit is contained in:
parent
e963af53a5
commit
772e50ba79
1 changed files with 6 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue