Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
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
nexedi
MariaDB
Commits
251a55dc
Commit
251a55dc
authored
Jan 10, 2021
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove changes to CMakeLists.txt that cause compile error
parent
02bb1170
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
25 deletions
+6
-25
storage/connect/CMakeLists.txt
storage/connect/CMakeLists.txt
+6
-25
No files found.
storage/connect/CMakeLists.txt
View file @
251a55dc
...
...
@@ -80,19 +80,6 @@ ELSE(NOT UNIX)
ENDIF
()
ENDIF
(
UNIX
)
#
# BSON: this the new version of JSON that is temporarily included here for testing
# When fully tested, it will replace the old support (and be renamed to JSON)
#
OPTION
(
CONNECT_WITH_BSON
"Compile CONNECT storage engine with BSON support"
ON
)
IF
(
CONNECT_WITH_BSON
)
SET
(
CONNECT_SOURCES
${
CONNECT_SOURCES
}
bson.cpp tabbson.cpp bsonudf.cpp bson.h tabbson.h bsonudf.h
)
add_definitions
(
-DBSON_SUPPORT
)
ENDIF
(
CONNECT_WITH_BSON
)
#
# VCT: the VEC format might be not supported in future versions
...
...
@@ -335,31 +322,25 @@ IF(CONNECT_WITH_REST)
SET
(
CONNECT_SOURCES
${
CONNECT_SOURCES
}
tabrest.cpp tabrest.h
)
add_definitions
(
-DREST_SUPPORT
)
FIND_PACKAGE
(
cpprestsdk QUIET
)
IF
(
UNIX
)
execute_process
(
COMMAND lsb_release -is
OUTPUT_VARIABLE LSB_RELEASE_ID_SHORT
OUTPUT_STRIP_TRAILING_WHITESPACE
)
MESSAGE
(
STATUS
${
LSB_RELEASE_ID_SHORT
}
)
ENDIF
(
UNIX
)
IF
(
cpprestsdk_FOUND
OR
(
"
${
LSB_RELEASE_ID_SHORT
}
"
STREQUAL
"Ubuntu"
))
IF
(
UNIX
)
IF
(
cpprestsdk_FOUND
)
IF
(
UNIX
)
# INCLUDE_DIRECTORIES(${CPPRESTSDK_INCLUDE_DIR})
# If needed edit next line to set the path to libcpprest.so
SET
(
REST_LIBRARY -lcpprest
)
MESSAGE
(
STATUS
${
REST_LIBRARY
}
)
ELSE
(
NOT UNIX
)
ELSE
(
NOT UNIX
)
# Next line sets debug compile mode matching cpprest_2_10d.dll
# when it was binary installed (can be change later in Visual Studio)
# Comment it out if not needed depending on your cpprestsdk installation.
SET
(
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS_DEBUG
}
/MDd"
)
ENDIF
(
UNIX
)
SET
(
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS_DEBUG
}
/MDd"
)
ENDIF
(
UNIX
)
# IF(REST_LIBRARY) why this? how about Windows
SET
(
CONNECT_SOURCES
${
CONNECT_SOURCES
}
restget.cpp
)
add_definitions
(
-DREST_SOURCE
)
# ENDIF()
# ELSE(NOT cpprestsdk_FOUND)
# MESSAGE(STATUS "=====> cpprestsdk package not found")
ENDIF
(
cpprestsdk_FOUND
OR
(
"
${
LSB_RELEASE_ID_SHORT
}
"
STREQUAL
"Ubuntu"
)
)
ENDIF
(
cpprestsdk_FOUND
)
ENDIF
(
CONNECT_WITH_REST
)
#
...
...
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