Skip to content

Commit ae350b5

Browse files
authored
Merge pull request #148 from AdaptiveParticles/tmp_install_windows_joel
set PIC on for abrObjLib
2 parents 227f10c + beb61f8 commit ae350b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ set(SOURCE_FILES src/io/blosc_filter.c src/io/hdf5functions_blosc.cpp)
201201
set(SOURCE_FILES_RAYCAST src/vis/Camera.cpp src/vis/Object.cpp src/vis/RaytracedObject.cpp src/vis/RaycastUtils.cpp)
202202

203203
add_library(aprObjLib OBJECT ${SOURCE_FILES} ${SOURCE_FILES_RAYCAST})
204+
set_property(TARGET aprObjLib PROPERTY POSITION_INDEPENDENT_CODE ON)
204205

205206
if(APR_USE_CUDA)
206207
message(STATUS "APR: Building CUDA for APR")

0 commit comments

Comments
 (0)