diff --git a/cmake/BornAgain/Directories.cmake b/cmake/BornAgain/Directories.cmake
index 89bf9da3a03a5b9b50424d3c6cb26e2ea81012bb..c73d5560ce06a439d33eebab53c0cb6cea462579 100644
--- a/cmake/BornAgain/Directories.cmake
+++ b/cmake/BornAgain/Directories.cmake
@@ -11,6 +11,7 @@
 ##! @authors   Scientific Computing Group at MLZ (see CITATION, AUTHORS)
 ##
 ##  ************************************************************************************************
+include(GNUInstallDirs)
 
 # -----------------------------------------------------------------------------
 # source directories
@@ -23,7 +24,6 @@ set(SWIG_DIR ${WRAP_DIR}/Swig)
 set(GUI_PROJECTS_DIR            ${CMAKE_SOURCE_DIR}/Tests/GUIprojects)
 set(REFERENCE_DIR               ${CMAKE_SOURCE_DIR}/Tests/ReferenceData)
 set(REFERENCE_DIR_CORESPECIAL   ${REFERENCE_DIR}/CoreSpecial)
-set(REFERENCE_DIR_PY_CORE       ${REFERENCE_DIR}/PyCore)
 set(REFERENCE_DIR_MINIEXAMPLES  ${REFERENCE_DIR}/MiniExamples)
 set(REFERENCE_DIR_SUITE         ${REFERENCE_DIR}/Suite)
 
@@ -96,17 +96,17 @@ if(BA_APPLE_BUNDLE)
     list(APPEND dstIds "bundle")
 endif()
 
-set(destination_bin ${destination_root}bin)
-set(destination_lib ${destination_root}lib)
+set(destination_bin ${destination_root}${CMAKE_INSTALL_BINDIR})
+set(destination_lib ${destination_root}${CMAKE_INSTALL_LIBDIR})
 if(WIN32)
     # on Window, the libraries must be in the same folder as the executable
     set(destination_lib ${destination_bin})
 endif()
-set(destination_include ${destination_root}include/${destination_suffix})
-set(destination_share ${destination_root}share/${destination_suffix})
+set(destination_include ${destination_root}${CMAKE_INSTALL_INCLUDEDIR}/${destination_suffix})
+set(destination_share ${destination_root}${CMAKE_INSTALL_DATAROOTDIR}/${destination_suffix})
 set(destination_examples ${destination_share}/Examples)
 set(destination_images ${destination_share}/Images)
-set(destination_man ${destination_root}share/man/man1)
+set(destination_man ${destination_root}${CMAKE_INSTALL_DATAROOTDIR}/man/man1)
 
 list(APPEND dstIds bin lib include share examples images man)