vcpkg/ports/fftw3/install-subtargets.patch
Kai Pastor 28de7389db
[fftw3] Fix build, cleanup (#32999)
* [fftw3] Cleanup

* [fftw3] Revise openmp requirement

* [fftw] Revise and fix build of variants

* [fftw3] Use pristine config installation

* [fftw3] Export all targets

* [fftw3] Drop pointless bench linking patch
2023-08-09 10:25:30 -07:00

19 lines
669 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d1e4dff..ea5d579 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -361,12 +361,8 @@ endif ()
foreach(subtarget ${subtargets})
set_target_properties (${subtarget} PROPERTIES SOVERSION 3.6.9 VERSION 3)
- install (TARGETS ${subtarget}
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
endforeach ()
-install(TARGETS ${fftw3_lib}
+install(TARGETS ${subtargets}
EXPORT FFTW3LibraryDepends
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}