Skip to content

Commit 896f800

Browse files
authored
Merge pull request #811 from ECP-copa/cmake_module_path
cmake: append to CMAKE_MODULE_PATH instead of overwrite
2 parents 9c1f0d4 + 2fcf8b5 commit 896f800

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ set(Cabana_INSTALL_PACKAGEDIR "${CMAKE_INSTALL_DATADIR}/cmake/Cabana" CACHE PATH
3232

3333
include(FeatureSummary)
3434

35-
# point to cmake modules
36-
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
35+
# add local cmake modules
36+
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
3737

3838
#------------------------------------------------------------------------------#
3939
# Dependencies

0 commit comments

Comments
 (0)