Skip to content

Commit 6e37350

Browse files
committed
Use same location for StaConfig.hh output as in cmake.
CMakeLists.txt:393 puts the output in include/sta/StaConfig.hh; do the same for bazel. Signed-off-by: Henner Zeller <[email protected]>
1 parent d8a8786 commit 6e37350

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

BUILD

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,9 @@ tcl_encode_sta(
177177
genrule(
178178
name = "StaConfig",
179179
srcs = [],
180-
outs = ["util/StaConfig.hh"],
180+
outs = ["include/sta/StaConfig.hh"],
181181
cmd = """echo -e '
182+
#pragma once
182183
#define STA_VERSION "2.7.0"
183184
#define STA_GIT_SHA1 "f21d4a3878e2531e3af4930818d9b5968aad9416"
184185
#define SSTA 0

0 commit comments

Comments
 (0)