Skip to content

Commit

Permalink
Fix include of git watcher when remill is used as a submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
pgoodman committed Oct 5, 2021
1 parent 710013a commit 84ec8e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Version/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
# the source code for watching a git repository.
set(PRE_CONFIGURE_FILE "Version.cpp.in")
set(POST_CONFIGURE_FILE "${CMAKE_CURRENT_BINARY_DIR}/Version.cpp")
include("${CMAKE_SOURCE_DIR}/cmake/git_watcher.cmake")
include("${REMILL_SOURCE_DIR}/cmake/git_watcher.cmake")

set(Version_PUBLIC_H
"${PROJECT_SOURCE_DIR}/include/remill/Version/Version.h"
"${REMILL_SOURCE_DIR}/include/remill/Version/Version.h"
)
# Create a library out of the compiled post-configure file.
add_library(remill_version STATIC
Expand Down

0 comments on commit 84ec8e4

Please sign in to comment.