Skip to content

Commit e39f8f5

Browse files
committed
Set CMAKE_POSITION_INDEPENDENT_CODE
1 parent 2a15b6b commit e39f8f5

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
/venv/
77
/.venv/
88

9-
109
# Python cache
1110
__pycache__/
1211
*.pyc
@@ -16,3 +15,4 @@ __pycache__/
1615
/dist/
1716
/src/*.egg-info/
1817
/docs/api/*.rst
18+
/wheelhouse/

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
cmake_minimum_required(VERSION 3.15...3.26)
22
project(${SKBUILD_PROJECT_NAME} LANGUAGES CXX)
33

4+
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
5+
46
# dependencies
57
file(
68
DOWNLOAD

0 commit comments

Comments
 (0)