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
2847178e
Commit
2847178e
authored
Sep 30, 2012
by
Antony T Curtis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post merge fixes
parent
b965d031
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
1 deletion
+45
-1
cmake/FindJudy.cmake
cmake/FindJudy.cmake
+33
-0
storage/oqgraph/CMakeLists.txt
storage/oqgraph/CMakeLists.txt
+12
-1
No files found.
cmake/FindJudy.cmake
0 → 100644
View file @
2847178e
# - Try to find Judy
# Once done this will define
#
# JUDY_FOUND - system has Judy
# JUDY_INCLUDE_DIR - the Judy include directory
# JUDY_LIBRARIES - Link these to use Judy
# JUDY_DEFINITIONS - Compiler switches required for using Judy
IF
(
JUDY_INCLUDE_DIR AND JUDY_LIBRARIES
)
SET
(
Judy_FIND_QUIETLY TRUE
)
ENDIF
(
JUDY_INCLUDE_DIR AND JUDY_LIBRARIES
)
FIND_PATH
(
JUDY_INCLUDE_DIR Judy.h
)
FIND_LIBRARY
(
JUDY_LIBRARIES NAMES Judy
)
IF
(
JUDY_INCLUDE_DIR AND JUDY_LIBRARIES
)
SET
(
JUDY_FOUND TRUE
)
ELSE
(
JUDY_INCLUDE_DIR AND JUDY_LIBRARIES
)
SET
(
JUDY_FOUND FALSE
)
ENDIF
(
JUDY_INCLUDE_DIR AND JUDY_LIBRARIES
)
IF
(
JUDY_FOUND
)
IF
(
NOT Judy_FIND_QUIETLY
)
MESSAGE
(
STATUS
"Found libjudy:
${
JUDY_LIBRARIES
}
"
)
ENDIF
(
NOT Judy_FIND_QUIETLY
)
ELSE
(
JUDY_FOUND
)
IF
(
Judy_FIND_REQUIRED
)
MESSAGE
(
FATAL_ERROR
"Could NOT find libjudy"
)
ENDIF
(
Judy_FIND_REQUIRED
)
ENDIF
(
JUDY_FOUND
)
MARK_AS_ADVANCED
(
JUDY_INCLUDE_DIR JUDY_LIBRARIES
)
storage/oqgraph/CMakeLists.txt
View file @
2847178e
FIND_PACKAGE
(
Boost 1.40.0
)
MESSAGE
(
STATUS
"Configuring OQGraph"
)
FIND_PACKAGE
(
Boost
)
IF
(
NOT Boost_FOUND
)
MESSAGE
(
STATUS
"Boost not found"
)
RETURN
()
ENDIF
()
INCLUDE_DIRECTORIES
(
BEFORE
${
Boost_INCLUDE_DIRS
}
)
FIND_PACKAGE
(
JUDY
)
IF
(
NOT JUDY_FOUND
)
MESSAGE
(
STATUS
"Judy not found"
)
RETURN
()
ENDIF
()
INCLUDE_DIRECTORIES
(
${
JUDY_INCLUDE_DIR
}
)
IF
(
MSVC
)
# lp:756966 OQGRAPH on Win64 does not compile
IF
(
CMAKE_SIZEOF_VOID_P EQUAL 8
)
...
...
@@ -33,4 +42,6 @@ IF(BOOST_OK)
MYSQL_ADD_PLUGIN
(
oqgraph ha_oqgraph.cc graphcore.cc STORAGE_ENGINE
MODULE_ONLY
)
ELSE
(
BOOST_OK
)
MESSAGE
(
STATUS
"Requisites for OQGraph not met"
)
ENDIF
(
BOOST_OK
)
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