From d46447607beb50bf6087dd72bac292dd3821f395 Mon Sep 17 00:00:00 2001 From: Abdul Rahman Dabbour Date: Mon, 11 Nov 2024 14:12:06 +0300 Subject: [PATCH] make kinematic_icp_registration static --- 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)