diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-09-02 14:40:02 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-09-04 07:46:35 -0700 |
commit | da3288590e81498eeecd16a31f9bfd331a86a559 (patch) | |
tree | 5916e4eb8e1bbd3efe7fd92c9c3768f21828ed79 /cmake | |
parent | 2b40e15713e2ccb8963ff8c1eb57f9374e04547d (diff) | |
download | subsurface-da3288590e81498eeecd16a31f9bfd331a86a559.tar.gz |
remove Marble cmake modules
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/FindMarble.cmake | 38 | ||||
-rw-r--r-- | cmake/Modules/HandleFindMarble.cmake | 23 |
2 files changed, 0 insertions, 61 deletions
diff --git a/cmake/Modules/FindMarble.cmake b/cmake/Modules/FindMarble.cmake deleted file mode 100644 index a3c97b872..000000000 --- a/cmake/Modules/FindMarble.cmake +++ /dev/null @@ -1,38 +0,0 @@ -# - Try to find the Marble Library -# Once done this will define -# -# MARBLE_FOUND - system has Marble -# MARBLE_INCLUDE_DIR - the Marble include directory -# MARBLE_LIBRARIES -# Redistribution and use is allowed according to the terms of the BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. -# - -# in cache already -IF ( MARBLE_INCLUDE_DIR AND MARBLE_LIBRARIES ) - SET( MARBLE_FIND_QUIETLY TRUE ) -ENDIF ( MARBLE_INCLUDE_DIR AND MARBLE_LIBRARIES ) - -FIND_PATH( MARBLE_INCLUDE_DIR -NAMES marble/MarbleModel.h -HINTS - ${CMAKE_CURRENT_SOURCE_DIR}/../install-root/include - ${CMAKE_CURRENT_SOURCE_DIR}/../marble/src/lib - ${CMAKE_CURRENT_SOURCE_DIR}/../marble-source/src/lib - /usr/local/include - /usr/include -) - -FIND_LIBRARY( MARBLE_LIBRARIES -NAMES - ssrfmarblewidget -HINTS - ${CMAKE_CURRENT_SOURCE_DIR}/../install-root/lib - ${CMAKE_CURRENT_SOURCE_DIR}/../marble - ${CMAKE_CURRENT_SOURCE_DIR}/../marble-source - /usr/local/include - /usr/include -) - -INCLUDE( FindPackageHandleStandardArgs ) -FIND_PACKAGE_HANDLE_STANDARD_ARGS( marble DEFAULT_MSG MARBLE_INCLUDE_DIR MARBLE_LIBRARIES ) diff --git a/cmake/Modules/HandleFindMarble.cmake b/cmake/Modules/HandleFindMarble.cmake deleted file mode 100644 index a3ca8fb48..000000000 --- a/cmake/Modules/HandleFindMarble.cmake +++ /dev/null @@ -1,23 +0,0 @@ -# setup marble - -if(NOT NO_MARBLE) - if(LIBMARBLE_FROM_PKGCONFIG) - pkg_config_library(MARBLE libmarble REQUIRED) - set(MARBLE_LIBRARIES "") - else() - find_package(Marble QUIET) - if(MARBLE_FOUND) - include_directories(${MARBLE_INCLUDE_DIR}) - else() - set(NO_MARBLE ON) - message(STATUS "building without marble widget support") - add_definitions(-DNO_MARBLE) - set(MARBLE_LIBRARIES "") - endif() - endif() - add_custom_target(link_marble_data ALL COMMAND rm -rf ./marbledata && ln -sf ${CMAKE_SOURCE_DIR}/marbledata ${CMAKE_BINARY_DIR}/marbledata) -else() - message(STATUS "building without marble widget support") - add_definitions(-DNO_MARBLE) - set(MARBLE_LIBRARIES "") -endif() |