Index: cmake/modules/AddOCaml.cmake =================================================================== --- cmake/modules/AddOCaml.cmake +++ cmake/modules/AddOCaml.cmake @@ -193,12 +193,12 @@ endforeach() install(FILES ${install_files} - DESTINATION lib/ocaml/llvm) + DESTINATION "${OCAML_STDLIB_PATH}/llvm") install(FILES ${install_shlibs} PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE - DESTINATION lib/ocaml/llvm) + DESTINATION "${OCAML_STDLIB_PATH}/llvm") foreach( install_file ${install_files} ${install_shlibs} ) get_filename_component(filename "${install_file}" NAME)