Skip to content

Commit 7506354

Browse files
committed
fixed build in case of submodule
1 parent f4d37b4 commit 7506354

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
@@ -19,7 +19,7 @@ if(POLICY CMP0054)
1919
cmake_policy(SET CMP0054 OLD)
2020
endif()
2121

22-
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
22+
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
2323

2424
set(MFAST_MAJOR_VERSION 1)
2525
set(MFAST_MINOR_VERSION 3)

0 commit comments

Comments
 (0)