mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 20:23:41 +08:00
b21c895ca5
* initial clFFT porting * OpenCL SDK half baked * Tried fixing Debug/Release * Remove DLL deployment * OpenCL SDK installs * clFFT installs * clFFT properly depends on OpenCL * OpenCL SDK fixes and clFFT patches * [clfft][opencl] Simplification, use patches instead of full files.
37 lines
849 B
CMake
37 lines
849 B
CMake
include(vcpkg_common_functions)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO clMathLibraries/clFFT
|
|
REF v2.12.2
|
|
SHA512 19e9a4e06f76ae7c7808d1188677d5553c43598886a75328b7801ab2ca68e35206839a58fe2f958a44a6f7c83284dc9461cd0e21c37d1042bf82e24aad066be8
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_apply_patches(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PATCHES ${CMAKE_CURRENT_LIST_DIR}/tweak-install.patch
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}/src
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
-DBUILD_LOADLIBRARIES=OFF
|
|
-DBUILD_EXAMPLES=OFF
|
|
-DSUFFIX_LIB=
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
file(INSTALL
|
|
"${SOURCE_PATH}/LICENSE"
|
|
DESTINATION
|
|
${CURRENT_PACKAGES_DIR}/share/clfft/copyright
|
|
)
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH "CMake")
|
|
|
|
vcpkg_copy_pdbs() |