diff --git a/CMakeLists.txt b/CMakeLists.txt
index f39a52d2d58b80c89947ff7af45ed5bd3913af26..8dceda2bdaa4146b1d2e8607ec9086f15c72ecf5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -166,6 +166,12 @@ else()
 endif()
 set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true)
 
+if(NOT DEFINED LRC)
+    if(EXISTS ${PROJECT_SOURCE_DIR}/../install/lrc)
+        set(LRC ${PROJECT_SOURCE_DIR}/../install/lrc)
+    endif()
+endif()
+
 # If LRC is not globally installed, it's path should be specified
 # by setting variable LRC. If library is not inside LRC + suffixes
 # lib, build or build-local, it's path should be set with LRCLIB.