X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2FCMakeLists.txt;h=6db37e2402e57b5ead038c6f4fe53bdebb24c2f1;hb=d28a7507ff76705ebc959ec060b55a93998b6379;hp=1bffd962de904aafbce5595bc1f0697ddf9dc1bc;hpb=b13c96f5733a070e2c9f497cf81055bbab85b28f;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/CMakeLists.txt b/src/gromacs/CMakeLists.txt index 1bffd962de..6db37e2402 100644 --- a/src/gromacs/CMakeLists.txt +++ b/src/gromacs/CMakeLists.txt @@ -199,7 +199,11 @@ set_target_properties(libgromacs PROPERTIES # Only install the library in mdrun-only mode if it is actually necessary # for the binary if (NOT GMX_BUILD_MDRUN_ONLY OR BUILD_SHARED_LIBS) - install(TARGETS libgromacs DESTINATION ${LIB_INSTALL_DIR} COMPONENT libraries) + install(TARGETS libgromacs + LIBRARY DESTINATION ${LIB_INSTALL_DIR} + RUNTIME DESTINATION ${BIN_INSTALL_DIR} + ARCHIVE DESTINATION ${LIB_INSTALL_DIR} + COMPONENT libraries) endif() if (NOT GMX_BUILD_MDRUN_ONLY)