From 49f00306689124394cd56e1070f8331edeeac33f Mon Sep 17 00:00:00 2001 From: Abdul Rahman Dabbour Date: Tue, 12 Nov 2024 11:25:25 +0300 Subject: [PATCH] make kinematic_icp_registration static (#16) --- cpp/kinematic_icp/registration/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpp/kinematic_icp/registration/CMakeLists.txt b/cpp/kinematic_icp/registration/CMakeLists.txt index 25d98cf..3beaf8f 100644 --- a/cpp/kinematic_icp/registration/CMakeLists.txt +++ b/cpp/kinematic_icp/registration/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_registration Registration.cpp) -target_link_libraries(kinematic_icp_registration kiss_icp_core Eigen3::Eigen TBB::tbb Sophus::Sophus) +add_library(kinematic_icp_registration STATIC) +target_sources(kinematic_icp_registration PRIVATE Registration.cpp) +target_link_libraries(kinematic_icp_registration PUBLIC kiss_icp_core Eigen3::Eigen TBB::tbb Sophus::Sophus) set_global_target_properties(kinematic_icp_registration)