Skip to content

Commit

Permalink
cmake: Update protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaymar committed Jul 13, 2018
1 parent 5f73014 commit c5de87a
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ math(EXPR BITS "8*${CMAKE_SIZEOF_VOID_P}")
## Protobuf
SET(Protobuf_USE_STATIC_LIBS ON)
SET(Protobuf_SRC_ROOT_FOLDER "${PROJECT_SOURCE_DIR}/third-party/protobuf")
SET(Protobuf_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/third-party/protobuf/src")
SET(Protobuf_LIBRARY_DEBUG "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/Debug/libprotobufd.lib")
SET(Protobuf_LIBRARY_RELEASE "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/Release/libprotobuf.lib")
SET(Protobuf_LITE_LIBRARY_DEBUG "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/Debug/libprotobuf-lited.lib")
SET(Protobuf_LITE_LIBRARY_RELEASE "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/Release/libprotobuf-lite.lib")
SET(Protobuf_PROTOC_EXECUTABLE "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/Release/protoc.exe")
SET(Protobuf_PROTOC_LIBRARY_DEBUG "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/Debug/libprotocd.lib")
SET(Protobuf_PROTOC_LIBRARY_RELEASE "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/Release/libprotoc.lib")
SET(Protobuf_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/third-party/protobuf/include")
SET(Protobuf_LIBRARY_DEBUG "${PROJECT_SOURCE_DIR}/third-party/protobuf/lib/libprotobufd.lib")
SET(Protobuf_LIBRARY_RELEASE "${PROJECT_SOURCE_DIR}/third-party/protobuf/lib/libprotobuf.lib")
SET(Protobuf_LITE_LIBRARY_DEBUG "${PROJECT_SOURCE_DIR}/third-party/protobuf/lib/libprotobuf-lited.lib")
SET(Protobuf_LITE_LIBRARY_RELEASE "${PROJECT_SOURCE_DIR}/third-party/protobuf/lib/libprotobuf-lite.lib")
SET(Protobuf_PROTOC_EXECUTABLE "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/protoc.exe")
SET(Protobuf_PROTOC_LIBRARY_DEBUG "${PROJECT_SOURCE_DIR}/third-party/protobuf/lib/libprotocd.lib")
SET(Protobuf_PROTOC_LIBRARY_RELEASE "${PROJECT_SOURCE_DIR}/third-party/protobuf/lib/libprotoc.lib")
find_package(Protobuf REQUIRED)

OPTION(BUILD_TESTS "Build lib-streamlabs-ipc Tests" OFF)
Expand Down Expand Up @@ -139,7 +139,6 @@ INCLUDE_DIRECTORIES(
${PROJECT_BINARY_DIR}
)
LINK_DIRECTORIES(
${Boost_LIBRARY_DIRS}
)

# Building
Expand Down

0 comments on commit c5de87a

Please sign in to comment.