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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
819b435e
Commit
819b435e
authored
Apr 10, 2011
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
64e43e1c
fcd29b78
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
storage/oqgraph/CMakeLists.txt
storage/oqgraph/CMakeLists.txt
+10
-2
No files found.
storage/oqgraph/CMakeLists.txt
View file @
819b435e
...
...
@@ -13,6 +13,13 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
FIND_PACKAGE
(
Boost
)
IF
(
Boost_FOUND
)
INCLUDE_DIRECTORIES
(
${
Boost_INCLUDE_DIRS
}
)
SET
(
CMAKE_REQUIRED_INCLUDES
${
Boost_INCLUDE_DIRS
}
)
ENDIF
()
INCLUDE
(
CheckCXXSourceCompiles
)
CHECK_CXX_SOURCE_COMPILES
(
"#include <boost/version.hpp>
...
...
@@ -22,7 +29,8 @@ CHECK_CXX_SOURCE_COMPILES(
#endif
int main() { return 0; }"
BOOST_OK
)
IF
(
BOOST_OK
)
# Only compile OQGRAPH on 32 bit, 64 bit does not compile yet (LPBUG 756966)
IF
(
BOOST_OK AND CMAKE_SIZEOF_VOID_P EQUAL 4
)
INCLUDE
(
"
${
PROJECT_SOURCE_DIR
}
/storage/mysql_storage_engine.cmake"
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-DHAVE_OQGRAPH /EHsc"
)
...
...
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