aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-02-02 18:03:32 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-02-02 18:03:32 -0800
commit5aa5f191aef4d40c5a44594418b00e7c47f10339 (patch)
tree939afa6c09f557424f926feba649042d35e09da6
parentce9927f7327bc71ade246108a7d984deda6293fd (diff)
downloadvcpkg-5aa5f191aef4d40c5a44594418b00e7c47f10339.tar.gz
vcpkg-5aa5f191aef4d40c5a44594418b00e7c47f10339.zip
[cereal] directly copy folder instead of invoking another cmake to copy
-rw-r--r--ports/cereal/portfile.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/ports/cereal/portfile.cmake b/ports/cereal/portfile.cmake
index ccdf13fd4..f6555416c 100644
--- a/ports/cereal/portfile.cmake
+++ b/ports/cereal/portfile.cmake
@@ -13,6 +13,4 @@ file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/cerea
file(RENAME ${CURRENT_PACKAGES_DIR}/share/cereal/LICENSE ${CURRENT_PACKAGES_DIR}/share/cereal/copyright)
# Copy the cereal header files
-execute_process(COMMAND ${CMAKE_COMMAND} -E copy_directory
- ${SOURCE_PATH}/include/cereal/
- ${CURRENT_PACKAGES_DIR}/include/cereal)
+file(COPY ${SOURCE_PATH}/include/cereal DESTINATION ${CURRENT_PACKAGES_DIR}/include) \ No newline at end of file