Skip to content

Commit 9e6e39e

Browse files
authored
Fix CMAKE_MODULE_PATH append when including the project (#1491)
Signed-off-by: Juan Cruz Viotti <[email protected]>
1 parent d3d01a3 commit 9e6e39e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.16)
22
project(core VERSION 0.0.0 LANGUAGES C CXX)
3-
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
3+
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
44

55
# Options
66
option(SOURCEMETA_CORE_REGEX "Build the Sourcemeta Core Regex library" ON)

0 commit comments

Comments
 (0)