aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmake/Modules/FindMarble.cmake38
-rw-r--r--cmake/Modules/HandleFindMarble.cmake23
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()