Skip to content

Commit

Permalink
The library is now installed as a static lib by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpierredeschenes committed Jul 25, 2021
1 parent 171add9 commit 639b29b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(EXTERNAL_LIBS ${EXTERNAL_LIBS} ${libpointmatcher_LIBRARIES})

# norlab_icp_mapper target
include_directories(norlab_icp_mapper ${libpointmatcher_INCLUDE_DIRS})
add_library(norlab_icp_mapper SHARED norlab_icp_mapper/Mapper.cpp norlab_icp_mapper/Map.cpp norlab_icp_mapper/Trajectory.cpp norlab_icp_mapper/RAMCellManager.cpp norlab_icp_mapper/HardDriveCellManager.cpp)
add_library(norlab_icp_mapper norlab_icp_mapper/Mapper.cpp norlab_icp_mapper/Map.cpp norlab_icp_mapper/Trajectory.cpp norlab_icp_mapper/RAMCellManager.cpp norlab_icp_mapper/HardDriveCellManager.cpp)
target_link_libraries(norlab_icp_mapper ${libpointmatcher_LIBRARIES})

# install target
Expand Down
2 changes: 1 addition & 1 deletion norlab_icp_mapperConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
set(norlab_icp_mapper_INCLUDE_DIRS "@EXTERNAL_INCLUDE_DIRS@;@CMAKE_INSTALL_PREFIX@/@INSTALL_INCLUDE_DIR@/norlab_icp_mapper")
set(norlab_icp_mapper_LIBRARIES "@EXTERNAL_LIBS@;@CMAKE_INSTALL_PREFIX@/@INSTALL_LIB_DIR@/libnorlab_icp_mapper.so")
set(norlab_icp_mapper_LIBRARIES "@EXTERNAL_LIBS@;@CMAKE_INSTALL_PREFIX@/@INSTALL_LIB_DIR@/libnorlab_icp_mapper.a")

0 comments on commit 639b29b

Please sign in to comment.