Skip to content

Commit a216227

Browse files
committed
Do not make ninja regenerate smartcont/provider-code.h on every run
OUTPUT parameter is relative to the current binary directory by default, so we need to explicitly use ${CMAKE_CURRENT_SOURCE_DIR}.
1 parent 72ba00b commit a216227

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/storage-daemon/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ add_custom_command(
55
COMMAND embed-provider-code smartcont/storage-provider-code.boc smartcont/provider-code.h
66
COMMENT "Generate provider-code.h"
77
DEPENDS embed-provider-code smartcont/storage-provider-code.boc
8-
OUTPUT smartcont/provider-code.h
8+
OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/smartcont/provider-code.h"
99
)
1010

1111
set(STORAGE_DAEMON_SOURCE

0 commit comments

Comments
 (0)