File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,6 +137,11 @@ target_link_options(HydroChrono BEFORE
137137 ${CHRONO_LINKER_FLAGS}
138138)
139139
140+ set_target_properties(HydroChrono
141+ PROPERTIES
142+ POSITION_INDEPENDENT_CODE ON
143+ )
144+
140145# temporary hack
141146# seems there is no namespace target hdf5:: on linux
142147# for HDF5 version 1.10 to 1.14 ?
@@ -283,4 +288,4 @@ export(
283288# ================
284289# Documentation
285290# ================
286- add_subdirectory(doc)
291+ add_subdirectory(doc)
Original file line number Diff line number Diff line change 11@PACKAGE_INIT@
22
33include (CMakeFindDependencyMacro )
4- find_dependency (HDF5 )
5- find_dependency (Chrono )
4+ find_dependency (HDF5 NAMES hdf5 COMPONENTS CXX )
5+ find_dependency (Chrono CONFIG REQUIRED )
66
7- include ("${CMAKE_CURRENT_LIST_DIR} /HydroChronoTargets.cmake" )
7+ include ("${CMAKE_CURRENT_LIST_DIR} /HydroChronoTargets.cmake" )
You can’t perform that action at this time.
0 commit comments