Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
davschneller authored Dec 15, 2023
1 parent 925c117 commit 1afa68f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if (NETCDF)
target_include_directories(pumgen PUBLIC ${NetCDF_INCLUDE_DIRS})
target_link_libraries(pumgen PUBLIC ${NetCDF_LIBRARY})
target_compile_definitions(pumgen PUBLIC USE_NETCDF)
set(INSTALL_RPATH ${NetCDF_LIBRARY_DIR})
set(INSTALL_RPATH "${NetCDF_LIBRARY_DIR}")
endif()

set(HDF5_PREFER_PARALLEL True)
Expand Down Expand Up @@ -125,5 +125,5 @@ target_compile_definitions(pumgen PUBLIC LOG_LEVEL=${LOG_LEVEL})
if(SIMMETRIX)
set(INSTALL_RPATH "${SIM_PS_KRNL_LIB_DIR}:${INSTALL_RPATH}")
endif()
set_target_properties(pumgen PROPERTIES INSTALL_RPATH ${INSTALL_RPATH})
set_target_properties(pumgen PROPERTIES INSTALL_RPATH "${INSTALL_RPATH}")
install(TARGETS pumgen RUNTIME DESTINATION bin DESTINATION ${CMAKE_INSTALL_BINDIR})

0 comments on commit 1afa68f

Please sign in to comment.