File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,8 @@ PROTOBUF_GENERATE_CPP(PROTO_SRC PROTO_HEADER ${OSI_PROTO_FILES})
66add_library (open_simulation_interface STATIC ${PROTO_SRC} ${PROTO_HEADER} )
77target_include_directories (open_simulation_interface PUBLIC ${PROTOBUF_INCLUDE_DIR} )
88target_link_libraries (open_simulation_interface PUBLIC ${PROTOBUF_LIBRARY} )
9+ add_library (open_simulation_interface_pic STATIC ${PROTO_SRC} ${PROTO_HEADER} )
10+ set_property (TARGET open_simulation_interface_pic PROPERTY POSITION_INDEPENDENT_CODE ON )
11+ target_include_directories (open_simulation_interface_pic PUBLIC ${PROTOBUF_INCLUDE_DIR} )
12+ target_link_libraries (open_simulation_interface_pic PUBLIC ${PROTOBUF_LIBRARY} )
913set (OSI_PROTOBUF_INCLUDE_PATH ${CMAKE_CURRENT_BINARY_DIR} CACHE INTERNAL "[OSI] Path to generated protobuf files for the open simulation interface." )
You can’t perform that action at this time.
0 commit comments