Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
dynamic-graph-python
Commits
20979705
Commit
20979705
authored
Jun 30, 2020
by
Olivier Stasse
Browse files
[cmake] Do not use as-needed for APPLE.
parent
4944617f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/CMakeLists.txt
View file @
20979705
...
...
@@ -35,7 +35,10 @@ SET_TARGET_PROPERTIES(${PYTHON_MODULE} PROPERTIES
PREFIX
""
OUTPUT_NAME
${
LIBRARY_NAME
}
/wrap
)
TARGET_LINK_LIBRARIES
(
${
PYTHON_MODULE
}
"-Wl,--no-as-needed"
)
IF
(
UNIX AND NOT APPLE
)
TARGET_LINK_LIBRARIES
(
${
PYTHON_MODULE
}
"-Wl,--no-as-needed"
)
ENDIF
()
TARGET_LINK_LIBRARIES
(
${
PYTHON_MODULE
}
${
LIBRARY_NAME
}
${
PYTHON_LIBRARY
}
)
TARGET_INCLUDE_DIRECTORIES
(
${
PYTHON_MODULE
}
SYSTEM PUBLIC
${
PYTHON_INCLUDE_DIRS
}
)
...
...
Olivier Stasse
@ostasse
mentioned in commit
ca79af98
·
Jul 24, 2020
mentioned in commit
ca79af98
mentioned in commit ca79af9827a57e924e1e2af947896a95aaeaf74c
Toggle commit list
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