diff options
Diffstat (limited to 'cmake/Modules/HandleFindMarble.cmake')
-rw-r--r-- | cmake/Modules/HandleFindMarble.cmake | 23 |
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() |