From 0fa8ecf8049a24292b3c70bb79b8792085a9f3a2 Mon Sep 17 00:00:00 2001 From: tizianoGuadagnino Date: Tue, 12 Nov 2024 12:07:49 +0100 Subject: [PATCH] Consistency in the CMakeLists --- cpp/kinematic_icp/correspondence_threshold/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpp/kinematic_icp/correspondence_threshold/CMakeLists.txt b/cpp/kinematic_icp/correspondence_threshold/CMakeLists.txt index 155d79b..df30730 100644 --- a/cpp/kinematic_icp/correspondence_threshold/CMakeLists.txt +++ b/cpp/kinematic_icp/correspondence_threshold/CMakeLists.txt @@ -20,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -add_library(kinematic_icp_threshold CorrespondenceThreshold.cpp) -target_link_libraries(kinematic_icp_threshold Sophus::Sophus) +add_library(kinematic_icp_threshold STATIC) +target_sources(kinematic_icp_threshold PRIVATE CorrespondenceThreshold.cpp) +target_link_libraries(kinematic_icp_threshold PUBLIC Sophus::Sophus) set_global_target_properties(kinematic_icp_threshold)