Browse Source

Fix CMake conflict

Hao Nguyen 6 năm trước cách đây
mục cha
commit
d47c3e9258
1 tập tin đã thay đổi với 0 bổ sung13 xóa
  1. 0 13
      cmake/CMakeLists.txt

+ 0 - 13
cmake/CMakeLists.txt

@@ -80,24 +80,11 @@ string(REGEX REPLACE     "${protobuf_VERSION_REGEX}" "\\5"
 
 
 message(STATUS "${protobuf_VERSION_PRERELEASE}")
 message(STATUS "${protobuf_VERSION_PRERELEASE}")
 
 
-message(STATUS "${protobuf_VERSION_PRERELEASE}")
-
 # Package version
 # Package version
 set(protobuf_VERSION
 set(protobuf_VERSION
   "${protobuf_VERSION_MAJOR}.${protobuf_VERSION_MINOR}.${protobuf_VERSION_PATCH}")
   "${protobuf_VERSION_MAJOR}.${protobuf_VERSION_MINOR}.${protobuf_VERSION_PATCH}")
 
 
 if(protobuf_VERSION_PRERELEASE)
 if(protobuf_VERSION_PRERELEASE)
-<<<<<<<
-=======
-  set(protobuf_VERSION "${protobuf_VERSION}.${protobuf_VERSION_PRERELEASE}")
-else()
-  set(protobuf_VERSION "${protobuf_VERSION}.0")
-endif()
-message(STATUS "${protobuf_VERSION}")
-
-if(protobuf_VERBOSE)
-
->>>>>>>
   set(protobuf_VERSION "${protobuf_VERSION}.${protobuf_VERSION_PRERELEASE}")
   set(protobuf_VERSION "${protobuf_VERSION}.${protobuf_VERSION_PRERELEASE}")
 else()
 else()
   set(protobuf_VERSION "${protobuf_VERSION}.0")
   set(protobuf_VERSION "${protobuf_VERSION}.0")