|
|
|
@ -232,6 +232,7 @@ install(TARGETS protobuf-lite
|
|
|
|
|
LIBRARY DESTINATION ${DFHACK_LIBRARY_DESTINATION}
|
|
|
|
|
RUNTIME DESTINATION ${DFHACK_LIBRARY_DESTINATION})
|
|
|
|
|
|
|
|
|
|
IF(NOT CMAKE_CROSSCOMPILING)
|
|
|
|
|
# Protobuf compiler shared library
|
|
|
|
|
|
|
|
|
|
ADD_LIBRARY(protoc SHARED ${LIBPROTOC_SRCS} ${LIBPROTOC_HDRS})
|
|
|
|
@ -242,7 +243,6 @@ TARGET_LINK_LIBRARIES(protoc protobuf)
|
|
|
|
|
|
|
|
|
|
# Protobuf compiler executable
|
|
|
|
|
|
|
|
|
|
IF(NOT CMAKE_CROSSCOMPILING)
|
|
|
|
|
ADD_EXECUTABLE(protoc-bin google/protobuf/compiler/main.cc google/protobuf/compiler/command_line_interface.h google/protobuf/compiler/cpp/cpp_generator.h)
|
|
|
|
|
IDE_FOLDER(protoc-bin "Depends")
|
|
|
|
|
|
|
|
|
|