compile libraries with -fPIC flag

This commit is contained in:
Xiaoqiang Wang 2017-08-23 16:13:36 +02:00
parent 5e90386fda
commit 634fbc748e

View File

@ -13,7 +13,7 @@ if (USE_HDF5)
find_package(HDF5 1.10 COMPONENTS CXX)
endif (USE_HDF5)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
add_subdirectory(slsDetectorSoftware)
add_subdirectory(slsReceiverSoftware)