Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
a407291c
Commit
a407291c
authored
Mar 21, 2012
by
David Cole
Committed by
Kitware Robot
Mar 21, 2012
Browse files
Merge topic 'MinorFixForEcos'
1ab4b3e1
guard eCos.cmake against multiple inclusion (
#12987
)
parents
44495fa7
1ab4b3e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/Platform/eCos.cmake
View file @
a407291c
# support for eCos http://ecos.sourceware.org
SET
(
CMAKE_SHARED_LIBRARY_C_FLAGS
""
)
# -pic
# Guard against multiple inclusion, which e.g. leads to multiple calls to add_definition() #12987
IF
(
__ECOS_CMAKE_INCLUDED
)
RETURN
()
ENDIF
()
SET
(
__ECOS_CMAKE_INCLUDED TRUE
)
SET
(
CMAKE_SHARED_LIBRARY_C_FLAGS
""
)
# -pic
SET
(
CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS
""
)
# -shared
SET
(
CMAKE_SHARED_LIBRARY_LINK_C_FLAGS
""
)
# +s, flag for exe link to use shared lib
SET
(
CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG
""
)
# -rpath
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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