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
86b0dc74
Commit
86b0dc74
authored
Apr 17, 2013
by
Leif Walsh
Committed by
Yoni Fogel
Apr 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[t:4814] fix cmake error
git-svn-id:
file:///svn/toku/tokudb@43369
c7de825b-a66e-492c-adef-691d508d4ae1
parent
0bef6fc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
portability/CMakeLists.txt
portability/CMakeLists.txt
+9
-7
No files found.
portability/CMakeLists.txt
View file @
86b0dc74
...
...
@@ -15,13 +15,15 @@ add_library(${LIBTOKUPORTABILITY}_static STATIC ${tokuportability_srcs})
maybe_add_gcov_to_libraries
(
${
LIBTOKUPORTABILITY
}
${
LIBTOKUPORTABILITY
}
_static
)
set_property
(
TARGET
${
LIBTOKUPORTABILITY
}
${
LIBTOKUPORTABILITY
}
_static APPEND PROPERTY COMPILE_DEFINITIONS _GNU_SOURCE
)
## ignore warning about cilkrts linking dynamically
get_target_property
(
link_flags
${
LIBTOKUPORTABILITY
}
LINK_FLAGS
)
if
(
link_flags STREQUAL link_flags-NOTFOUND
)
set
(
link_flags
""
)
endif
()
set_target_properties
(
${
LIBTOKUPORTABILITY
}
PROPERTIES
LINK_FLAGS
"
${
link_flags
}
-diag-disable 10237"
)
if
(
INTEL_CC
)
## ignore warning about cilkrts linking dynamically
get_target_property
(
link_flags
${
LIBTOKUPORTABILITY
}
LINK_FLAGS
)
if
(
link_flags STREQUAL link_flags-NOTFOUND
)
set
(
link_flags
""
)
endif
()
set_target_properties
(
${
LIBTOKUPORTABILITY
}
PROPERTIES
LINK_FLAGS
"
${
link_flags
}
-diag-disable 10237"
)
endif
(
INTEL_CC
)
foreach
(
src file.c memory.c os_malloc.c portability.c toku_assert.c toku_rwlock.c
)
set_property
(
SOURCE
${
src
}
APPEND PROPERTY COMPILE_DEFINITIONS TOKU_ALLOW_DEPRECATED=1
)
...
...
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