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
Stack Of Tasks
dynamic-graph-python
Commits
ca79af98
Commit
ca79af98
authored
Jul 06, 2020
by
Olivier Stasse
Browse files
Revert "[cmake] Do not use as-needed for APPLE."
This reverts commit
20979705
.
parent
20979705
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/CMakeLists.txt
View file @
ca79af98
...
...
@@ -35,10 +35,7 @@ SET_TARGET_PROPERTIES(${PYTHON_MODULE} PROPERTIES
PREFIX
""
OUTPUT_NAME
${
LIBRARY_NAME
}
/wrap
)
IF
(
UNIX AND NOT APPLE
)
TARGET_LINK_LIBRARIES
(
${
PYTHON_MODULE
}
"-Wl,--no-as-needed"
)
ENDIF
()
TARGET_LINK_LIBRARIES
(
${
PYTHON_MODULE
}
"-Wl,--no-as-needed"
)
TARGET_LINK_LIBRARIES
(
${
PYTHON_MODULE
}
${
LIBRARY_NAME
}
${
PYTHON_LIBRARY
}
)
TARGET_INCLUDE_DIRECTORIES
(
${
PYTHON_MODULE
}
SYSTEM PUBLIC
${
PYTHON_INCLUDE_DIRS
}
)
...
...
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