Skip to content

Commit

Permalink
iox-eclipse-iceoryx#1602 Unify CMAKE_MODULE_PATH for CMake Config files
Browse files Browse the repository at this point in the history
Signed-off-by: Dietrich Krönke <[email protected]>
  • Loading branch information
dkroenke committed Sep 5, 2022
1 parent 6baf3aa commit 7f7d975
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions iceoryx_binding_c/cmake/iceoryx_binding_cConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ if(NOT ${CMAKE_FIND_PACKAGE_NAME}_FOUND_PRINTED)
message(STATUS "The package '${CMAKE_FIND_PACKAGE_NAME}' is used in source code version.")
set(${CMAKE_FIND_PACKAGE_NAME}_FOUND_PRINTED true CACHE INTERNAL "")
endif()

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
3 changes: 2 additions & 1 deletion iceoryx_hoofs/cmake/iceoryx_hoofsConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ if(NOT ${CMAKE_FIND_PACKAGE_NAME}_FOUND_PRINTED)
message(STATUS "The package '${CMAKE_FIND_PACKAGE_NAME}' is used in source code version.")
set(${CMAKE_FIND_PACKAGE_NAME}_FOUND_PRINTED true CACHE INTERNAL "")
endif()
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
2 changes: 2 additions & 0 deletions iceoryx_hoofs/cmake/iceoryx_hoofs_testingConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ if(NOT ${CMAKE_FIND_PACKAGE_NAME}_FOUND_PRINTED)
message(STATUS "The package '${CMAKE_FIND_PACKAGE_NAME}' is used in source code version.")
set(${CMAKE_FIND_PACKAGE_NAME}_FOUND_PRINTED true CACHE INTERNAL "")
endif()

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
1 change: 1 addition & 0 deletions iceoryx_posh/cmake/iceoryx_poshConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ if(NOT ${CMAKE_FIND_PACKAGE_NAME}_FOUND_PRINTED)
message(STATUS "The package '${CMAKE_FIND_PACKAGE_NAME}' is used in source code version.")
set(${CMAKE_FIND_PACKAGE_NAME}_FOUND_PRINTED true CACHE INTERNAL "")
endif()

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
2 changes: 2 additions & 0 deletions iceoryx_posh/cmake/iceoryx_posh_testingConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ if(NOT ${CMAKE_FIND_PACKAGE_NAME}_FOUND_PRINTED)
message(STATUS "The package '${CMAKE_FIND_PACKAGE_NAME}' is used in source code version.")
set(${CMAKE_FIND_PACKAGE_NAME}_FOUND_PRINTED true CACHE INTERNAL "")
endif()

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})

0 comments on commit 7f7d975

Please sign in to comment.