vcpkg/ports/simple-fft/portfile.cmake
Leonid Pospelov 565df6ec85
[Simple-FFT] Add new port (#11929)
* [Simple-FFT] Add new port

* Update ports/simple-fft/CONTROL

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Add copyright handling

* Update ports/simple-fft/portfile.cmake

Co-authored-by: Victor Romero <romerosanchezv@gmail.com>

* Update portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
2020-07-30 22:31:48 -07:00

21 lines
864 B
CMake

# Header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO d1vanov/Simple-FFT
REF a0cc843ff36d33ad09c08674b9503614742ad0b9
SHA512 6fbbda1f172505f6627f97ae671d12ff282844ca50e6e6c8016f78ee333c32ce6d17763837c281e47f10cfc277cb1f67394169f6bbf137b09885c1a053d6d342
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/include/simple_fft/check_fft.hpp
${SOURCE_PATH}/include/simple_fft/copy_array.hpp
${SOURCE_PATH}/include/simple_fft/error_handling.hpp
${SOURCE_PATH}/include/simple_fft/fft.h
${SOURCE_PATH}/include/simple_fft/fft.hpp
${SOURCE_PATH}/include/simple_fft/fft_impl.hpp
${SOURCE_PATH}/include/simple_fft/fft_settings.h
DESTINATION ${CURRENT_PACKAGES_DIR}/include/simple_fft
)
file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)