diff --git a/scripts/cmake/Dependencies.cmake b/scripts/cmake/Dependencies.cmake index 9d740049c71..f736749892a 100644 --- a/scripts/cmake/Dependencies.cmake +++ b/scripts/cmake/Dependencies.cmake @@ -100,6 +100,9 @@ if(_build_chemistry_lib) ${iphreeqc_SOURCE_DIR}/src/phreeqcpp ) list(APPEND DISABLE_WARNINGS_TARGETS IPhreeqc) + if(BUILD_SHARED_LIBS) + install(TARGETS IPhreeqc LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) + endif() endif() endif() endif()