# Let the plugin makefile system work with our install system: patch the
# directory path to correspond with our install directory
# 01/02/2016 - wpoely86@gmail.com
diff -ur psi4public-e4070d0024742579a445e084da9dde078310094d.orig/CMakeLists.txt psi4public-e4070d0024742579a445e084da9dde078310094d/CMakeLists.txt
--- psi4public-e4070d0024742579a445e084da9dde078310094d.orig/CMakeLists.txt	2016-02-01 22:43:36.000000000 +0100
+++ psi4public-e4070d0024742579a445e084da9dde078310094d/CMakeLists.txt	2016-02-05 12:40:20.375508374 +0100
@@ -282,6 +282,7 @@
 foreach(dir ${dirs})
     set(PLUGIN_INCLUDE_DIRECTORIES "-I${dir} ${PLUGIN_INCLUDE_DIRECTORIES}")
 endforeach()
+set(PLUGIN_INCLUDE_DIRECTORIES "-I$ENV{PSI_SRC_INSTALL_DIR}/include -I$ENV{PSI_SRC_INSTALL_DIR}/src/lib/ -I$ENV{PSI_OBJ_INSTALL_DIR}/include -I$ENV{PSI_OBJ_INSTALL_DIR}/src/lib/ ${PLUGIN_INCLUDE_DIRECTORIES}")
 foreach(def ${defs})
     set(PLUGIN_DEFINES "-D${def} ${PLUGIN_DEFINES}")
 endforeach()
