Skip to content

Commit de4a013

Browse files
committed
Fix INFO_SRC created on sources location
Change-Id: I528fa9575642b79a639b09f7d78844f4c50e25c2
1 parent deae227 commit de4a013

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildinfo.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@ FUNCTION(GENERATE_INFO_SRC)
169169
ENDIF()
170170
ENDIF()
171171

172-
CONFIGURE_FILE(INFO_SRC.in "${CMAKE_SOURCE_DIR}/INFO_SRC")
172+
CONFIGURE_FILE(INFO_SRC.in "${CMAKE_BINARY_DIR}/INFO_SRC")
173173
ENDIF()
174174

175175
install(
176-
FILES "${CMAKE_SOURCE_DIR}/INFO_SRC"
176+
FILES "${CMAKE_BINARY_DIR}/INFO_SRC"
177177
DESTINATION ${INSTALL_DOC_DIR}
178178
COMPONENT Readme
179179
)

0 commit comments

Comments
 (0)