Skip to content

Commit

Permalink
Fix cmake warning in find_package_handle_standard_args
Browse files Browse the repository at this point in the history
  • Loading branch information
JustusBraun committed Jan 15, 2025
1 parent eb3e5b4 commit f168253
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ include_directories(${FLANN_INCLUDE_DIR})
#------------------------------------------------------------------------------
# Searching for LZ4
#------------------------------------------------------------------------------
find_package(Lz4 REQUIRED)
find_package(LZ4 REQUIRED)
include_directories(${LZ4_INCLUDE_DIR})
message(STATUS "Found LZ4 library: ${LZ4_INCLUDE_DIR}")

Expand Down Expand Up @@ -836,7 +836,7 @@ install(FILES package.xml DESTINATION share/lvr2)

install(FILES
CMakeModules/FindFLANN.cmake
CMakeModules/FindLz4.cmake
CMakeModules/FindLZ4.cmake
CMakeModules/FindNabo.cmake
CMakeModules/FindOpenNI.cmake
CMakeModules/FindOpenNI2.cmake
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion LVR2Config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ find_package(FLANN REQUIRED)
list(APPEND LVR2_INCLUDE_DIRS ${FLANN_INCLUDE_DIR})

# Lz4
find_package(Lz4 REQUIRED)
find_package(LZ4 REQUIRED)
list(APPEND LVR2_INCLUDE_DIRS ${LZ4_INCLUDE_DIR})
list(APPEND LVR2_LIBRARIES ${LZ4_LIBRARY})

Expand Down

0 comments on commit f168253

Please sign in to comment.