Skip to content

Commit 9978576

Browse files
committed
#550 Configure osi_version.proto.in in binary dir
Signed-off-by: Martin Stump <11492152+globberwops@users.noreply.github.com>
1 parent 0898748 commit 9978576

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ set(OSI_INSTALL_CMAKE_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH "Installation dire
4848
set(OSI_INSTALL_LIB_DIR ${OSI_INSTALL_LIB_DIR}/osi${VERSION_MAJOR})
4949
set(OSI_INSTALL_INCLUDE_DIR ${OSI_INSTALL_INCLUDE_DIR}/osi${VERSION_MAJOR})
5050

51-
configure_file(osi_version.proto.in ${CMAKE_CURRENT_SOURCE_DIR}/osi_version.proto)
51+
configure_file(osi_version.proto.in osi_version.proto)
5252

5353
find_package(Protobuf 2.6.1 REQUIRED)
5454
set(PROTOBUF_IMPORT_DIRS ${PROTOBUF_INCLUDE_DIRS})
5555

5656
set(OSI_PROTO_FILES
57-
osi_version.proto
57+
${CMAKE_CURRENT_BINARY_DIR}/osi_version.proto
5858
osi_common.proto
5959
osi_datarecording.proto
6060
osi_detectedtrafficsign.proto

0 commit comments

Comments
 (0)