commit | afa6cc3d1c42935c5a1016ec7ae13ddcbb1853d4 | [log] [tgz] |
---|---|---|
author | ktopley-apple <ktopley@apple.com> | Mon Dec 03 07:03:10 2018 -0800 |
committer | GitHub <noreply@github.com> | Mon Dec 03 07:03:10 2018 -0800 |
tree | 00afa6aefd4da83ec5ea1933e76a4806dbe284e9 | |
parent | fb368f624055f06ec009572b140dcd351409b9da [diff] | |
parent | 6efcf87c522547d50b1c39b128de6e9892e3a80b [diff] |
Merge pull request #434 from compnerd/pic build: build libdispatch as position independent
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 06396ca..4790ac6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt
@@ -54,6 +54,11 @@ shims/time.h shims/tsd.h shims/yield.h) + +set_target_properties(dispatch + PROPERTIES + POSITION_INDEPENDENT_CODE YES) + if(WIN32) target_sources(dispatch PRIVATE