aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2017-11-28 12:41:10 -0800
committerGitHub <noreply@github.com>2017-11-28 12:41:10 -0800
commitb87d510a38ed07c74b7fd9be489c4529653de368 (patch)
tree2ed604bd5675a85a2b56dc2ae5d5a6b3901fc3fa
parent74ae772c256baf0632a0c8446b8c3686cd8dee9e (diff)
parent56a47f6339c239d2dcffaf96a1dddbe1b4176905 (diff)
downloadvcpkg-b87d510a38ed07c74b7fd9be489c4529653de368.tar.gz
vcpkg-b87d510a38ed07c74b7fd9be489c4529653de368.zip
Merge pull request #2257 from xoviat/patch-1
[fftw] remove fftw3 directory if it exists
-rw-r--r--ports/fftw3/portfile.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/fftw3/portfile.cmake b/ports/fftw3/portfile.cmake
index 317046635..d5fc1bf0b 100644
--- a/ports/fftw3/portfile.cmake
+++ b/ports/fftw3/portfile.cmake
@@ -33,6 +33,7 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(COPY ${SOURCE_PATH}/api/fftw3.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share/)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/fftw3)
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/cmake ${CURRENT_PACKAGES_DIR}/share/fftw3)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/cmake)