Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
protobuf-c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
spbro
protobuf-c
Commits
824a7fed
Commit
824a7fed
authored
Jul 08, 2023
by
Robert Edmonds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Remove BUILD_PROTO3, HAVE_PROTO3
parent
e08fe625
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
build-cmake/CMakeLists.txt
build-cmake/CMakeLists.txt
+0
-4
No files found.
build-cmake/CMakeLists.txt
View file @
824a7fed
...
@@ -9,7 +9,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.10 FATAL_ERROR)
...
@@ -9,7 +9,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.10 FATAL_ERROR)
PROJECT
(
protobuf-c
)
PROJECT
(
protobuf-c
)
#options
#options
option
(
BUILD_PROTO3
"BUILD_PROTO3"
ON
)
option
(
BUILD_PROTOC
"Build protoc-gen-c"
ON
)
option
(
BUILD_PROTOC
"Build protoc-gen-c"
ON
)
if
(
CMAKE_BUILD_TYPE MATCHES Debug
)
if
(
CMAKE_BUILD_TYPE MATCHES Debug
)
option
(
BUILD_TESTS
"Build tests"
ON
)
option
(
BUILD_TESTS
"Build tests"
ON
)
...
@@ -73,9 +72,6 @@ endif (MSVC AND NOT BUILD_SHARED_LIBS)
...
@@ -73,9 +72,6 @@ endif (MSVC AND NOT BUILD_SHARED_LIBS)
FIND_PACKAGE
(
Protobuf REQUIRED
)
FIND_PACKAGE
(
Protobuf REQUIRED
)
INCLUDE_DIRECTORIES
(
${
PROTOBUF_INCLUDE_DIR
}
)
INCLUDE_DIRECTORIES
(
${
PROTOBUF_INCLUDE_DIR
}
)
if
(
BUILD_PROTO3
)
ADD_DEFINITIONS
(
-DHAVE_PROTO3
)
endif
()
ENDIF
()
ENDIF
()
if
(
MSVC AND NOT BUILD_SHARED_LIBS
)
if
(
MSVC AND NOT BUILD_SHARED_LIBS
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment