Skip to content

Commit

Permalink
Prepend to CMAKE_MODULE_PATH instead of overwriting
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Dec 2, 2022
1 parent a1a8ace commit ee37ea6
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 @@ -23,8 +23,8 @@ if("${isSystemDir}" STREQUAL "-1")
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
endif()

set(CMAKE_MODULE_PATH "${DYNINST_ROOT}/cmake" "${DYNINST_ROOT}/cmake/Modules"
${CMAKE_MODULE_PATH})
list(INSERT CMAKE_MODULE_PATH 0 "${PROJECT_SOURCE_DIR}/cmake"
"${PROJECT_SOURCE_DIR}/cmake/tpls" "${PROJECT_SOURCE_DIR}/cmake/Modules")

# Set the C and C++ language standards
include(DyninstLanguageStandards)
Expand Down

0 comments on commit ee37ea6

Please sign in to comment.