From 98bc3ca17acf61fb9b63b87623c212ed2689d01c Mon Sep 17 00:00:00 2001 From: Alex Stewart Date: Fri, 25 Feb 2022 19:07:21 +0000 Subject: [PATCH] Fix shared library build due to missing compile features specification Change-Id: Ib4c7f0b18b8770ab8cb09b15b9cc17f90042ceb0 --- internal/ceres/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/ceres/CMakeLists.txt b/internal/ceres/CMakeLists.txt index 63ef44b6b..7d9d9a908 100644 --- a/internal/ceres/CMakeLists.txt +++ b/internal/ceres/CMakeLists.txt @@ -278,6 +278,7 @@ if(BUILD_SHARED_LIBS) add_library(ceres_static STATIC $ ${CERES_LIBRARY_SOURCE}) target_include_directories(ceres_static PUBLIC $) target_compile_definitions(ceres_static PUBLIC $) + target_compile_features(ceres_static PUBLIC $) target_compile_options(ceres_static PUBLIC $) target_link_libraries(ceres_static INTERFACE $