pthreadpool: add the PIC flag (#46216)

This commit is contained in:
Juan Miguel Carceller 2024-09-06 15:11:03 +02:00 committed by GitHub
parent 4042afaa99
commit fa5f4f1cab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,4 +67,5 @@ def cmake_args(self):
self.define("PTHREADPOOL_BUILD_BENCHMARKS", False),
self.define("PTHREADPOOL_LIBRARY_TYPE", "static"),
self.define("PTHREADPOOL_ALLOW_DEPRECATED_API", True),
self.define("CMAKE_POSITION_INDEPENDENT_CODE", True),
]