diff options
| author | jasjuang <jasjuang@gmail.com> | 2017-07-10 07:58:52 -0700 |
|---|---|---|
| committer | jasjuang <jasjuang@gmail.com> | 2017-07-10 07:58:52 -0700 |
| commit | d887fa4a301aa9bdf87d746ee4d1bed57d827bb8 (patch) | |
| tree | db209931c39d342edf02333977c3b4f05354ee67 | |
| parent | f9a0afb534687c950f0ab6bf11a45544b86e0cda (diff) | |
| download | vcpkg-d887fa4a301aa9bdf87d746ee4d1bed57d827bb8.tar.gz vcpkg-d887fa4a301aa9bdf87d746ee4d1bed57d827bb8.zip | |
use glob to remove exe
| -rw-r--r-- | ports/alembic/portfile.cmake | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/ports/alembic/portfile.cmake b/ports/alembic/portfile.cmake index ae056bcdd..26fa79e9c 100644 --- a/ports/alembic/portfile.cmake +++ b/ports/alembic/portfile.cmake @@ -20,18 +20,10 @@ vcpkg_copy_pdbs() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) -file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/abcdiff.exe) -file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/abcecho.exe) -file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/abcechobounds.exe) -file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/abcls.exe) -file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/abcstitcher.exe) -file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/abctree.exe) -file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/abcdiff.exe) -file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/abcecho.exe) -file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/abcechobounds.exe) -file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/abcls.exe) -file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/abcstitcher.exe) -file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/abctree.exe) +file(GLOB EXE ${CURRENT_PACKAGES_DIR}/bin/*.exe) +file(GLOB DEBUG_EXE ${CURRENT_PACKAGES_DIR}/debug/bin/*.exe) +file(REMOVE ${EXE}) +file(REMOVE ${DEBUG_EXE}) file(RENAME ${CURRENT_PACKAGES_DIR}/lib/Alembic.dll ${CURRENT_PACKAGES_DIR}/bin/Alembic.dll) file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/Alembic.dll ${CURRENT_PACKAGES_DIR}/debug/bin/Alembic.dll) |
