Skip to content

Commit

Permalink
update CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbourelly999 committed Nov 28, 2023
1 parent 805da3d commit b4c3c86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions intersection_model/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
cmake_minimum_required(VERSION 3.10.2)
project(intersection_model)
link_directories(
"/usr/lib"
"/usr/local/lib"
${catkin_LIBRARY_DIRS}
${catkin_INCLUDE_DIRS})

find_package(Boost COMPONENTS thread filesystem system REQUIRED)
find_package(spdlog REQUIRED)
add_definitions(-DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_TRACE)
list(APPEND CMAKE_PREFIX_PATH "/opt/carma/cmake/" "/opt/carma_lanelet2/" "/opt/ros/melodic/share/catkin/cmake")

find_package(PROJ4)
find_package(Eigen3 3.3 NO_MODULE)
Expand Down
2 changes: 1 addition & 1 deletion message_services/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")

link_directories(${catkin_LIBRARY_DIRS} ${catkin_INCLUDE_DIRS})
list(APPEND CMAKE_PREFIX_PATH "/opt/carma/cmake/" "/opt/carma_lanelet2/")
find_package(PROJ4)
find_package(Eigen3 3.3 NO_MODULE)
find_package(catkin COMPONENTS
Expand Down

0 comments on commit b4c3c86

Please sign in to comment.