diff options
| author | Alexander Gavrilov | 2012-03-09 19:46:21 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-03-09 19:46:21 +0400 |
| commit | edf77cf270e3ff7c4a08cd85fcaf537b254f6273 (patch) | |
| tree | ea12836902f56ce46460377eb7aa5f5b35f4f151 /library/CMakeLists.txt | |
| parent | 9b071097de73dc19e5f3d5be31134810bad3e6f7 (diff) | |
| download | dfhack-edf77cf270e3ff7c4a08cd85fcaf537b254f6273.tar.gz dfhack-edf77cf270e3ff7c4a08cd85fcaf537b254f6273.tar.bz2 dfhack-edf77cf270e3ff7c4a08cd85fcaf537b254f6273.tar.xz | |
Link protobuf to dfhack core as a shared library.
- Change protobuf libraries to build as DLLs.
- Move some stream features to the lite library.
- Install the lite library and use it from dfhack.
Note that:
- A couple of protobuf headers had to be tweaked.
- The lite library is used because the full one is
absolutely incompatible with reloading plugins.
- Shutting down protobuf also can't be allowed.
Diffstat (limited to 'library/CMakeLists.txt')
| -rw-r--r-- | library/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index 94704beb..ca4c9d47 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -196,7 +196,7 @@ endif() #effectively disables debug builds... SET_TARGET_PROPERTIES(dfhack PROPERTIES DEBUG_POSTFIX "-debug" ) -TARGET_LINK_LIBRARIES(dfhack ${PROJECT_LIBS}) +TARGET_LINK_LIBRARIES(dfhack protobuf-lite ${PROJECT_LIBS}) IF(UNIX) # On linux, copy our version of the df launch script which sets LD_PRELOAD |
