aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxoviat <xoviat@users.noreply.github.com>2017-11-25 17:48:26 -0600
committerGitHub <noreply@github.com>2017-11-25 17:48:26 -0600
commit56a47f6339c239d2dcffaf96a1dddbe1b4176905 (patch)
tree12545407c168a94e25afd016b320d0ea3c45b1a6
parent5335d17f53d491d83d98e80ab0e750ec0f6f430b (diff)
downloadvcpkg-56a47f6339c239d2dcffaf96a1dddbe1b4176905.tar.gz
vcpkg-56a47f6339c239d2dcffaf96a1dddbe1b4176905.zip
[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 973cf7dbe..9bf6b3a58 100644
--- a/ports/fftw3/portfile.cmake
+++ b/ports/fftw3/portfile.cmake
@@ -24,6 +24,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)