Open sa35 opened 6 years ago
Under Fedora 28 compiling nexus with options (HDF4, HDF5, MXML all enabled) fails due to a missing library (libtirpc). I needed to add it manually in code/src/CMakeLists.txt
$ git diff CMakeLists.txt diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 444a27a..363d97c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -98,7 +98,7 @@ set_target_properties(NeXus_Shared_Library PROPERTIES LINK_FLAGS "/DEF:\"${CMAKE_CURRENT_SOURCE_DIR}/NeXus.def\"") endif(MSVC)
-target_link_libraries(NeXus_Shared_Library ${NAPI_LINK_LIBS}) +target_link_libraries(NeXus_Shared_Library ${NAPI_LINK_LIBS} tirpc)
Is this still relevant? We are now on fedora 33
Under Fedora 28 compiling nexus with options (HDF4, HDF5, MXML all enabled) fails due to a missing library (libtirpc). I needed to add it manually in code/src/CMakeLists.txt
$ git diff CMakeLists.txt diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 444a27a..363d97c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -98,7 +98,7 @@ set_target_properties(NeXus_Shared_Library PROPERTIES LINK_FLAGS "/DEF:\"${CMAKE_CURRENT_SOURCE_DIR}/NeXus.def\"") endif(MSVC)
-target_link_libraries(NeXus_Shared_Library ${NAPI_LINK_LIBS}) +target_link_libraries(NeXus_Shared_Library ${NAPI_LINK_LIBS} tirpc)