Skip to content

Commit 24f3961

Browse files
committed
checking lib instead of api
1 parent 906a446 commit 24f3961

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

guts/gutilities.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,9 +567,9 @@ inline std::filesystem::path gemc_root() {
567567
// }
568568

569569
// Sanity check
570-
if (!std::filesystem::exists(root / "api")) {
570+
if (!std::filesystem::exists(root / "lib")) {
571571
throw std::runtime_error(
572-
"Cannot locate directory <api> under " + root.string() +
572+
"Cannot locate directory <lib> under " + root.string() +
573573
". Check installation layout or GEMC environment variable."
574574
);
575575
}

0 commit comments

Comments
 (0)