aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/Modules/HandleFindMarble.cmake
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-09-02 14:40:02 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-09-04 07:46:35 -0700
commitda3288590e81498eeecd16a31f9bfd331a86a559 (patch)
tree5916e4eb8e1bbd3efe7fd92c9c3768f21828ed79 /cmake/Modules/HandleFindMarble.cmake
parent2b40e15713e2ccb8963ff8c1eb57f9374e04547d (diff)
downloadsubsurface-da3288590e81498eeecd16a31f9bfd331a86a559.tar.gz
remove Marble cmake modules
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'cmake/Modules/HandleFindMarble.cmake')
-rw-r--r--cmake/Modules/HandleFindMarble.cmake23
1 files changed, 0 insertions, 23 deletions
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()