From 2939ece4d2ce76121f134638cddff7946fe21551 Mon Sep 17 00:00:00 2001 From: SpaceIm <30052553+SpaceIm@users.noreply.github.com> Date: Mon, 18 Oct 2021 07:29:39 -0400 Subject: [PATCH] add BUNDLE DESTINATION (#177) required for installation of executable target if cross-build to iOS/tvOS/watchOS see https://cmake.org/cmake/help/latest/policy/CMP0006.html --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 767f8b5..e9458d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -230,6 +230,7 @@ install(TARGETS cpu_features list_cpu_features ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR} ) install(EXPORT CpuFeaturesTargets NAMESPACE CpuFeatures::