diff -up pyscf-1.7.5/pyscf/lib/CMakeLists.txt.rpath pyscf-1.7.5/pyscf/lib/CMakeLists.txt
--- pyscf-1.7.5/pyscf/lib/CMakeLists.txt.rpath 2020-10-05 04:06:03.000000000 +0200
+++ pyscf-1.7.5/pyscf/lib/CMakeLists.txt 2020-10-05 20:03:18.279694287 +0200
@@ -113,17 +113,6 @@ configure_file(
# to find config.h
include_directories("${PROJECT_BINARY_DIR}")
-# See also https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/RPATH-handling
-if (WIN32)
- #?
-elseif (APPLE)
- #TODO: test me set(CMAKE_MACOSX_RPATH On)
-else ()
- set(CMAKE_SKIP_BUILD_RPATH True)
- set(CMAKE_BUILD_WITH_INSTALL_RPATH True)
- set(CMAKE_INSTALL_RPATH "\$ORIGIN:\$ORIGIN/deps/lib:\$ORIGIN/deps/lib64")
-endif ()
-
add_subdirectory(np_helper)
add_subdirectory(gto)
add_subdirectory(vhf)