diff options
author | Ray Molenkamp <github@lazydodo.com> | 2018-08-13 23:45:27 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2018-08-13 23:45:27 +0300 |
commit | 518ce887ad9b6a9ab56e64e4f5784b5ff31a7aec (patch) | |
tree | d0e02916eb151d96ee36e4c81495df2c2586824f /build_files/build_environment/cmake/iconv.cmake | |
parent | 4e03f9cbc2414a89c547b047db87789289787fdb (diff) |
build_environment: iconv 1.15
Diffstat (limited to 'build_files/build_environment/cmake/iconv.cmake')
-rw-r--r-- | build_files/build_environment/cmake/iconv.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build_files/build_environment/cmake/iconv.cmake b/build_files/build_environment/cmake/iconv.cmake index cd6cf9547df..18f8f60b4f5 100644 --- a/build_files/build_environment/cmake/iconv.cmake +++ b/build_files/build_environment/cmake/iconv.cmake @@ -31,4 +31,11 @@ ExternalProject_Add(external_iconv if(MSVC) set_target_properties(external_iconv PROPERTIES FOLDER Mingw) + if(BUILD_MODE STREQUAL Release) + ExternalProject_Add_Step(external_iconv after_install + COMMAND ${CMAKE_COMMAND} -E copy ${LIBDIR}/iconv/lib/libiconv.a ${HARVEST_TARGET}/iconv/lib/iconv.lib + COMMAND ${CMAKE_COMMAND} -E copy ${LIBDIR}/iconv/include/iconv.h ${HARVEST_TARGET}/iconv/include/iconv.h + DEPENDEES install + ) + endif() endif() |