diff options
| author | Nagy-Egri Máté Ferenc <nagy-egri.mate@wigner.mta.hu> | 2019-09-11 21:57:02 +0200 |
|---|---|---|
| committer | Curtis J Bezault <curtbezault@gmail.com> | 2019-09-11 12:57:02 -0700 |
| commit | cdbaa03cdda27071675daa21f65a8ab0550fd280 (patch) | |
| tree | ada58391b1bf40da6b4e5ab2c1c8d2bcce129208 /ports/clfft | |
| parent | 2b277b4ef6acb5872c5f98136db7cdb6c486cf02 (diff) | |
| download | vcpkg-cdbaa03cdda27071675daa21f65a8ab0550fd280.tar.gz vcpkg-cdbaa03cdda27071675daa21f65a8ab0550fd280.zip | |
Linux support for the OpenCL SDK package (#4204)
Enable building OpenCL libraries on Linux and macOS.
Diffstat (limited to 'ports/clfft')
| -rw-r--r-- | ports/clfft/portfile.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ports/clfft/portfile.cmake b/ports/clfft/portfile.cmake index 6ef4ec6f7..d7aff78cb 100644 --- a/ports/clfft/portfile.cmake +++ b/ports/clfft/portfile.cmake @@ -32,6 +32,10 @@ file(INSTALL ${CURRENT_PACKAGES_DIR}/share/clfft/copyright ) -vcpkg_fixup_cmake_targets(CONFIG_PATH CMake) +if(VCPKG_TARGET_IS_WINDOWS) + vcpkg_fixup_cmake_targets(CONFIG_PATH "CMake") +elseif(VCPKG_TARGET_IS_LINUX) + vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/clFFT") +endif() vcpkg_copy_pdbs() |
