From 9b692375d149df390c3cf704663273f7bf8925b8 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 27 Nov 2022 08:18:07 +0100 Subject: [PATCH] Build all targets of volk_gnsssdr --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a35b31551..1fb98188c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1119,7 +1119,7 @@ if(NOT VOLKGNSSSDR_FOUND) if(CMAKE_GENERATOR STREQUAL Xcode) set(VOLK_GNSSSDR_BUILD_COMMAND "xcodebuild" "-configuration" $<$:Debug>$<$:Release>$<$:RelWithDebInfo>$<$:MinSizeRel> - "-target" + "-alltargets" ) endif() endif() @@ -1204,7 +1204,7 @@ if(NOT VOLKGNSSSDR_FOUND) DOWNLOAD_COMMAND "" UPDATE_COMMAND "" PATCH_COMMAND "" - BUILD_COMMAND ${VOLK_GNSSSDR_BUILD_COMMAND} volk_gnsssdr_profile volk_gnsssdr-config-info + BUILD_COMMAND ${VOLK_GNSSSDR_BUILD_COMMAND} INSTALL_DIR ${GNSSSDR_BINARY_DIR}/volk_gnsssdr_module/install ) else() @@ -1255,7 +1255,7 @@ if(NOT VOLKGNSSSDR_FOUND) DOWNLOAD_COMMAND "" UPDATE_COMMAND "" PATCH_COMMAND "" - BUILD_COMMAND ${VOLK_GNSSSDR_BUILD_COMMAND} volk_gnsssdr_profile volk_gnsssdr-config-info + BUILD_COMMAND ${VOLK_GNSSSDR_BUILD_COMMAND} BUILD_BYPRODUCTS ${VOLK_GNSSSDR_BUILD_BYPRODUCTS} INSTALL_DIR ${GNSSSDR_BINARY_DIR}/volk_gnsssdr_module/install ) @@ -1274,7 +1274,7 @@ if(NOT VOLKGNSSSDR_FOUND) DOWNLOAD_COMMAND "" UPDATE_COMMAND "" PATCH_COMMAND "" - BUILD_COMMAND ${VOLK_GNSSSDR_BUILD_COMMAND} volk_gnsssdr_profile volk_gnsssdr-config-info + BUILD_COMMAND ${VOLK_GNSSSDR_BUILD_COMMAND} BUILD_BYPRODUCTS ${GNSSSDR_BINARY_DIR}/volk_gnsssdr_module/install/lib${VOLK_GNSSSDR_LIB_SUFFIX}/${CMAKE_FIND_LIBRARY_PREFIXES}volk_gnsssdr${CMAKE_STATIC_LIBRARY_SUFFIX} ${GNSSSDR_BINARY_DIR}/volk_gnsssdr_module/install/bin/volk_gnsssdr_profile ${GNSSSDR_BINARY_DIR}/volk_gnsssdr_module/install/bin/volk_gnsssdr-config-info