summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmake/Modules/HandleFindMarble.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmake/Modules/HandleFindMarble.cmake b/cmake/Modules/HandleFindMarble.cmake
index 40903e6a9..f721d5c2b 100644
--- a/cmake/Modules/HandleFindMarble.cmake
+++ b/cmake/Modules/HandleFindMarble.cmake
@@ -10,6 +10,9 @@ if(NOT NO_MARBLE)
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 -s ${CMAKE_SOURCE_DIR}/marbledata ${CMAKE_BINARY_DIR}/marbledata)
@@ -17,4 +20,4 @@ else()
message(STATUS "building without marble widget support")
add_definitions(-DNO_MARBLE)
set(MARBLE_LIBRARIES "")
-endif() \ No newline at end of file
+endif()