blob: c77a869441fd8574c834ba391b82088f29d5e6e5 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001libc++ also has a file called version and this file and how cflags are specified
2it ends up including this file and resulting in compile errors
3
4fixes errors like
5storage/mroonga/version:1:1: error: expected unqualified-id
67.07
7^
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11
12--- a/storage/mroonga/CMakeLists.txt
13+++ b/storage/mroonga/CMakeLists.txt
14@@ -80,7 +80,7 @@ else()
15 set(MRN_SOURCE_DIR ${CMAKE_SOURCE_DIR})
16 endif()
17
18-file(READ ${MRN_SOURCE_DIR}/version MRN_VERSION)
19+file(READ ${MRN_SOURCE_DIR}/ver MRN_VERSION)
20 file(READ ${MRN_SOURCE_DIR}/version_major MRN_VERSION_MAJOR)
21 file(READ ${MRN_SOURCE_DIR}/version_minor MRN_VERSION_MINOR)
22 file(READ ${MRN_SOURCE_DIR}/version_micro MRN_VERSION_MICRO)
23--- /dev/null
24+++ b/storage/mroonga/ver
25@@ -0,0 +1 @@
26+7.07
27\ No newline at end of file
28--- a/storage/mroonga/version
29+++ /dev/null
30@@ -1 +0,0 @@
31-7.07
32\ No newline at end of file