Skip to content

Commit

Permalink
fix CMake file
Browse files Browse the repository at this point in the history
Signed-off-by: Esteve Fernandez <[email protected]>
  • Loading branch information
esteve committed Jan 27, 2025
1 parent f128add commit a912c7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoware_utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ find_package(autoware_cmake REQUIRED)
autoware_package()

find_package(Boost REQUIRED)
target_compile_definitions(autoware_utils
PRIVATE BOOST_MAJOR_VERSION=${Boost_MAJOR_VERSION} BOOST_MINOR_VERSION=${Boost_MINOR_VERSION})

file(GLOB_RECURSE src_files
src/*.cpp
Expand All @@ -19,6 +17,8 @@ file(GLOB_RECURSE src_files
ament_auto_add_library(autoware_utils SHARED
${src_files}
)
target_compile_definitions(autoware_utils
PRIVATE BOOST_MAJOR_VERSION=${Boost_MAJOR_VERSION} BOOST_MINOR_VERSION=${Boost_MINOR_VERSION})

if(BUILD_TESTING)
file(GLOB_RECURSE test_files test/**/*.cpp)
Expand Down

0 comments on commit a912c7d

Please sign in to comment.