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
412e14a7
Commit
412e14a7
authored
Aug 07, 2009
by
Guilhem Bichot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small cmake fix for Windows build
storage/innobase/CMakeLists.txt: ${WIN64} fails if variable is undefined
parent
b0dec55b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
storage/innobase/CMakeLists.txt
storage/innobase/CMakeLists.txt
+2
-5
No files found.
storage/innobase/CMakeLists.txt
View file @
412e14a7
...
...
@@ -22,9 +22,6 @@
SET
(
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS_DEBUG
}
-DSAFEMALLOC -DSAFE_MUTEX"
)
SET
(
CMAKE_C_FLAGS_DEBUG
"
${
CMAKE_C_FLAGS_DEBUG
}
-DSAFEMALLOC -DSAFE_MUTEX"
)
INCLUDE
(
"
${
PROJECT_SOURCE_DIR
}
/storage/mysql_storage_engine.cmake"
)
IF
(
CMAKE_SIZEOF_VOID_P MATCHES 8
)
SET
(
WIN64 TRUE
)
ENDIF
(
CMAKE_SIZEOF_VOID_P MATCHES 8
)
# Include directories under innobase
INCLUDE_DIRECTORIES
(
${
CMAKE_SOURCE_DIR
}
/storage/innobase/include
...
...
@@ -39,10 +36,10 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
# Removing compiler optimizations for innodb/mem/* files on 64-bit Windows
# due to 64-bit compiler error, See MySQL Bug #19424, #36366, #34297
IF
(
MSVC AND
${
WIN64
}
)
IF
(
MSVC AND
CMAKE_SIZEOF_VOID_P MATCHES 8
)
SET_SOURCE_FILES_PROPERTIES
(
mem/mem0mem.c mem/mem0pool.c
PROPERTIES COMPILE_FLAGS -Od
)
ENDIF
(
MSVC AND
${
WIN64
}
)
ENDIF
(
MSVC AND
CMAKE_SIZEOF_VOID_P MATCHES 8
)
SET
(
INNOBASE_SOURCES btr/btr0btr.c btr/btr0cur.c btr/btr0pcur.c btr/btr0sea.c
buf/buf0buddy.c buf/buf0buf.c buf/buf0flu.c buf/buf0lru.c buf/buf0rea.c
...
...
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