Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
dc53f5a6
Commit
dc53f5a6
authored
Jul 08, 2010
by
Christian Heine
Browse files
[FIX] module suffix/prefix for OSX
parent
22f9b089
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/common/CMakeLists.txt
src/common/CMakeLists.txt
+2
-2
No files found.
src/common/CMakeLists.txt
View file @
dc53f5a6
...
...
@@ -13,8 +13,8 @@ TARGET_LINK_LIBRARIES( common ${Boost_LIBRARIES} ${CMAKE_DL_LIBS} )
# Set the prefix and suffix of dynamically loadable modules to match
# CMAKEs naming of them. The quotes are necessary so the shell doesn't mess
# with these defines.
add_definitions
(
'-DW_LIB_PREFIX=
"
${
CMAKE_SHARED_
MODULE
_PREFIX
}
"
'
)
add_definitions
(
'-DW_LIB_SUFFIX=
"
${
CMAKE_SHARED_
MODULE
_SUFFIX
}
"
'
)
add_definitions
(
'-DW_LIB_PREFIX=
"
${
CMAKE_SHARED_
LIBRARY
_PREFIX
}
"
'
)
add_definitions
(
'-DW_LIB_SUFFIX=
"
${
CMAKE_SHARED_
LIBRARY
_SUFFIX
}
"
'
)
# Unit tests
IF
(
OW_COMPILE_TESTS
)
...
...
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