Skip to content
Snippets Groups Projects
Commit 255252e3 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

cmake: use a default ring-project lrc path if not defined

This provides out-of-the-box cmake configuration for QtCreator
without having to manually specify the lrc path.

Change-Id: I3a8abbc2d0dd8062cecece166afbf09b91b52f59
parent d9e432b0
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment