mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
cmake: setup marble link directory correctly
This way the necessary rpath settings are created Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
405e52fef9
commit
4309ab4a16
1 changed files with 4 additions and 2 deletions
|
@ -71,9 +71,11 @@ SET(QT_TEST_LIBRARIES ${QT_LIBRARIES} Qt5::Test)
|
|||
|
||||
IF(NOT DEFINED LIBMARBLEDEVEL)
|
||||
FIND_PACKAGE(Marble REQUIRED)
|
||||
INCLUDE_DIRECTORIES(${MARBLE_INCLUDE_DIR})
|
||||
include_directories(${MARBLE_INCLUDE_DIR})
|
||||
link_directories(${MARBLE_LIB_DIR})
|
||||
ELSE()
|
||||
INCLUDE_DIRECTORIES(${LIBMARBLEDEVEL}/include)
|
||||
include_directories(${LIBMARBLEDEVEL}/include)
|
||||
link_directories(${LIBMARBLEDEVEL}/lib)
|
||||
SET(MARBLE_LIBRARIES -L${LIBMARBLEDEVEL}/lib -lssrfmarblewidget)
|
||||
ENDIF()
|
||||
|
||||
|
|
Loading…
Reference in a new issue