|
|
|
@ -83,7 +83,7 @@ MACRO(DFHACK_PLUGIN)
|
|
|
|
|
|
|
|
|
|
LIST(LENGTH PLUGIN_PROTOBUFS NUM_PROTO)
|
|
|
|
|
IF(NUM_PROTO)
|
|
|
|
|
TARGET_LINK_LIBRARIES(${PLUGIN_NAME} dfhack protobuf-lite ${PLUGIN_LINK_LIBRARIES})
|
|
|
|
|
TARGET_LINK_LIBRARIES(${PLUGIN_NAME} dfhack protobuf ${PLUGIN_LINK_LIBRARIES})
|
|
|
|
|
IF(UNIX)
|
|
|
|
|
SET_TARGET_PROPERTIES(${PLUGIN_NAME} PROPERTIES COMPILE_FLAGS "-include Export.h")
|
|
|
|
|
ELSE()
|
|
|
|
@ -104,4 +104,4 @@ MACRO(DFHACK_PLUGIN)
|
|
|
|
|
install(TARGETS ${PLUGIN_NAME}
|
|
|
|
|
LIBRARY DESTINATION ${DFHACK_PLUGIN_DESTINATION}
|
|
|
|
|
RUNTIME DESTINATION ${DFHACK_PLUGIN_DESTINATION})
|
|
|
|
|
ENDMACRO(DFHACK_PLUGIN)
|
|
|
|
|
ENDMACRO(DFHACK_PLUGIN)
|
|
|
|
|