Revert "install the full protobuf library"

This reverts commit 443a9676e1.
develop
Casey Link 2014-11-27 13:40:11 +01:00
parent 7cbb1ed043
commit de919050b1
2 changed files with 3 additions and 6 deletions

@ -222,10 +222,7 @@ SET_TARGET_PROPERTIES(protobuf-lite PROPERTIES COMPILE_DEFINITIONS LIBPROTOBUF_E
TARGET_LINK_LIBRARIES(protobuf ${CMAKE_THREAD_LIBS_INIT} ${ZLIB_LIBRARIES})
TARGET_LINK_LIBRARIES(protobuf-lite ${CMAKE_THREAD_LIBS_INIT} ${ZLIB_LIBRARIES})
#install(TARGETS protobuf-lite
#LIBRARY DESTINATION ${DFHACK_LIBRARY_DESTINATION}
#RUNTIME DESTINATION ${DFHACK_LIBRARY_DESTINATION})
install(TARGETS protobuf
install(TARGETS protobuf-lite
LIBRARY DESTINATION ${DFHACK_LIBRARY_DESTINATION}
RUNTIME DESTINATION ${DFHACK_LIBRARY_DESTINATION})

@ -83,7 +83,7 @@ MACRO(DFHACK_PLUGIN)
LIST(LENGTH PLUGIN_PROTOBUFS NUM_PROTO)
IF(NUM_PROTO)
TARGET_LINK_LIBRARIES(${PLUGIN_NAME} dfhack protobuf ${PLUGIN_LINK_LIBRARIES})
TARGET_LINK_LIBRARIES(${PLUGIN_NAME} dfhack protobuf-lite ${PLUGIN_LINK_LIBRARIES})
IF(UNIX)
SET_TARGET_PROPERTIES(${PLUGIN_NAME} PROPERTIES COMPILE_FLAGS "-include Export.h")
ELSE()