Skip to content

Commit c5de87a

Browse files
committed
cmake: Update protobuf
1 parent 5f73014 commit c5de87a

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

CMakeLists.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ math(EXPR BITS "8*${CMAKE_SIZEOF_VOID_P}")
2020
## Protobuf
2121
SET(Protobuf_USE_STATIC_LIBS ON)
2222
SET(Protobuf_SRC_ROOT_FOLDER "${PROJECT_SOURCE_DIR}/third-party/protobuf")
23-
SET(Protobuf_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/third-party/protobuf/src")
24-
SET(Protobuf_LIBRARY_DEBUG "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/Debug/libprotobufd.lib")
25-
SET(Protobuf_LIBRARY_RELEASE "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/Release/libprotobuf.lib")
26-
SET(Protobuf_LITE_LIBRARY_DEBUG "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/Debug/libprotobuf-lited.lib")
27-
SET(Protobuf_LITE_LIBRARY_RELEASE "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/Release/libprotobuf-lite.lib")
28-
SET(Protobuf_PROTOC_EXECUTABLE "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/Release/protoc.exe")
29-
SET(Protobuf_PROTOC_LIBRARY_DEBUG "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/Debug/libprotocd.lib")
30-
SET(Protobuf_PROTOC_LIBRARY_RELEASE "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/Release/libprotoc.lib")
23+
SET(Protobuf_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/third-party/protobuf/include")
24+
SET(Protobuf_LIBRARY_DEBUG "${PROJECT_SOURCE_DIR}/third-party/protobuf/lib/libprotobufd.lib")
25+
SET(Protobuf_LIBRARY_RELEASE "${PROJECT_SOURCE_DIR}/third-party/protobuf/lib/libprotobuf.lib")
26+
SET(Protobuf_LITE_LIBRARY_DEBUG "${PROJECT_SOURCE_DIR}/third-party/protobuf/lib/libprotobuf-lited.lib")
27+
SET(Protobuf_LITE_LIBRARY_RELEASE "${PROJECT_SOURCE_DIR}/third-party/protobuf/lib/libprotobuf-lite.lib")
28+
SET(Protobuf_PROTOC_EXECUTABLE "${PROJECT_SOURCE_DIR}/third-party/protobuf/bin/protoc.exe")
29+
SET(Protobuf_PROTOC_LIBRARY_DEBUG "${PROJECT_SOURCE_DIR}/third-party/protobuf/lib/libprotocd.lib")
30+
SET(Protobuf_PROTOC_LIBRARY_RELEASE "${PROJECT_SOURCE_DIR}/third-party/protobuf/lib/libprotoc.lib")
3131
find_package(Protobuf REQUIRED)
3232

3333
OPTION(BUILD_TESTS "Build lib-streamlabs-ipc Tests" OFF)
@@ -139,7 +139,6 @@ INCLUDE_DIRECTORIES(
139139
${PROJECT_BINARY_DIR}
140140
)
141141
LINK_DIRECTORIES(
142-
${Boost_LIBRARY_DIRS}
143142
)
144143

145144
# Building

0 commit comments

Comments
 (0)