Skip to content

Commit

Permalink
cmake: append to CMAKE_MODULE_PATH instead of overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
junghans committed Mar 2, 2025
1 parent 9c1f0d4 commit 2fcf8b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ set(Cabana_INSTALL_PACKAGEDIR "${CMAKE_INSTALL_DATADIR}/cmake/Cabana" CACHE PATH

include(FeatureSummary)

# point to cmake modules
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
# add local cmake modules
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

#------------------------------------------------------------------------------#
# Dependencies
Expand Down

0 comments on commit 2fcf8b5

Please sign in to comment.