Skip to content

Commit

Permalink
Fixing location of perfstubs git repo so that checkouts happen correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Mar 9, 2020
1 parent 8ba5090 commit e23a941
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -670,18 +670,18 @@ else()
endif()

### Set up perfstubs stuff
git_external(perfstubs
git_external(perfstubs.git
https://github.com/khuck/perfstubs.git
master
VERBOSE)

find_file(
PERFSTUBS_HEADER
NAMES perfstubs_api/tool.h
PATHS ${PROJECT_SOURCE_DIR}/perfstubs)
PATHS ${PROJECT_SOURCE_DIR}/perfstubs.git)

if(PERFSTUBS_HEADER)
message(INFO " Found perfstubs at ${PROJECT_SOURCE_DIR}/perfstubs")
message(INFO " Found perfstubs at ${PROJECT_SOURCE_DIR}/perfstubs.git")
include_directories(${PROJECT_SOURCE_DIR})
else()
message(FATAL_ERROR " perfstubs not found. This should have been checked out automatically. "
Expand Down

0 comments on commit e23a941

Please sign in to comment.