aboutsummaryrefslogtreecommitdiff
path: root/dep/protobuf/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dep/protobuf/CMakeLists.txt')
-rw-r--r--dep/protobuf/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/dep/protobuf/CMakeLists.txt b/dep/protobuf/CMakeLists.txt
index c1c29ce6578..c1465b73c7f 100644
--- a/dep/protobuf/CMakeLists.txt
+++ b/dep/protobuf/CMakeLists.txt
@@ -74,10 +74,10 @@ target_link_libraries(protobuf
if (BUILD_SHARED_LIBS)
target_compile_definitions(protobuf
PRIVATE
- -DLIBPROTOBUF_EXPORTS
- -DLIBPROTOC_EXPORTS
+ LIBPROTOBUF_EXPORTS
+ LIBPROTOC_EXPORTS
PUBLIC
- -DPROTOBUF_USE_DLLS)
+ PROTOBUF_USE_DLLS)
endif()
if (MSVC)
@@ -87,7 +87,7 @@ if (MSVC)
target_compile_definitions(protobuf
PRIVATE
- -D_SCL_SECURE_NO_WARNINGS)
+ _SCL_SECURE_NO_WARNINGS)
endif()
set_target_properties(protobuf