File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ find_dependency(atl @atl_VERSION@)
44find_dependency(ffs @ffs_VERSION@)
55
66if (NOT @BUILD_SHARED_LIBS @)
7- find_dependency(dill @dill_VERSION@)
7+ if (@HAVE_COD_H@)
8+ find_dependency(dill @dill_VERSION@)
9+ endif ()
810
911 if (@NVML_FOUND@)
1012 find_dependency(NVML)
Original file line number Diff line number Diff line change @@ -4,7 +4,11 @@ set(BUILD_TESTING OFF)
44set (CMAKE_INSTALL_CMAKEDIR "${CMAKE_INSTALL_CMAKEDIR} /thirdparty" )
55
66set (FFS_USE_ATL ON CACHE INTERNAL "" )
7- set (FFS_USE_DILL ON CACHE INTERNAL "" )
7+ if (TARGET dill::dill)
8+ set (FFS_USE_DILL ON CACHE INTERNAL "" )
9+ else ()
10+ set (FFS_USE_DILL OFF CACHE INTERNAL "" )
11+ endif ()
812set (FFS_LIBRARIES_ONLY ON CACHE INTERNAL "" )
913set (FFS_QUIET ON CACHE INTERNAL "" )
1014set (FFS_LIBRARY_PREFIX adios2${ADIOS2_LIBRARY_SUFFIX} _ CACHE INTERNAL "" )
You can’t perform that action at this time.
0 commit comments