Skip to content

Commit cf6bb11

Browse files
lukaszstolarczukbratpiorka
authored andcommitted
[CMake] Fix helpers module include
use full path, to omit potential conflicts in names with other modules, e.g. in other projects, which can use the same module name.
1 parent 34ad4ab commit cf6bb11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ cmake_minimum_required(VERSION 3.14.0 FATAL_ERROR)
77
set(UMF_CMAKE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
88

99
list(APPEND CMAKE_MODULE_PATH "${UMF_CMAKE_SOURCE_DIR}/cmake")
10-
include(helpers)
10+
# Use full path of the helpers module (to omit potential conflicts with others)
11+
include(${UMF_CMAKE_SOURCE_DIR}/cmake/helpers.cmake)
1112

1213
# We use semver aligned version, set via git tags. We parse git output to
1314
# establih the version of UMF to be used in CMake, Win dll's, and within the

0 commit comments

Comments
 (0)