--- a/cmake/MoleQueueConfig.cmake.in
+++ b/cmake/MoleQueueConfig.cmake.in
@@ -8,7 +8,7 @@
 set(MoleQueue_VERSION_PATCH   "@MoleQueue_VERSION_PATCH@")
 set(MoleQueue_VERSION         "${MoleQueue_VERSION_MAJOR}.${MoleQueue_VERSION_MINOR}.${MoleQueue_VERSION_PATCH}")
 
-set(MoleQueue_INSTALL_PREFIX  "@CMAKE_INSTALL_PREFIX@")
+set(MoleQueue_INSTALL_PREFIX  "${CMAKE_CURRENT_LIST_DIR}/../../..")
 set(MoleQueue_INCLUDE_DIRS    "${MoleQueue_INSTALL_PREFIX}/@INSTALL_INCLUDE_DIR@")
 set(MoleQueue_LIBRARY_DIR     "${MoleQueue_INSTALL_PREFIX}/@INSTALL_LIBRARY_DIR@")
 set(MoleQueue_RUNTIME_DIR     "${MoleQueue_INSTALL_PREFIX}/@INSTALL_RUNTIME_DIR@")
