Skip to content

Commit 84ec8e4

Browse files
committed
Fix include of git watcher when remill is used as a submodule
1 parent 710013a commit 84ec8e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/Version/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
# the source code for watching a git repository.
88
set(PRE_CONFIGURE_FILE "Version.cpp.in")
99
set(POST_CONFIGURE_FILE "${CMAKE_CURRENT_BINARY_DIR}/Version.cpp")
10-
include("${CMAKE_SOURCE_DIR}/cmake/git_watcher.cmake")
10+
include("${REMILL_SOURCE_DIR}/cmake/git_watcher.cmake")
1111

1212
set(Version_PUBLIC_H
13-
"${PROJECT_SOURCE_DIR}/include/remill/Version/Version.h"
13+
"${REMILL_SOURCE_DIR}/include/remill/Version/Version.h"
1414
)
1515
# Create a library out of the compiled post-configure file.
1616
add_library(remill_version STATIC

0 commit comments

Comments
 (0)