Commit 5884f1d2 authored by Lisa's avatar Lisa
Browse files

Link marble library inside the locale module. Segfaults now.

parent ea27d204
include_directories( ${PROJECT_BINARY_DIR}/src/libcalamaresui )
list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules" )
find_package( Marble REQUIRED )
calamares_add_plugin( locale
TYPE viewmodule
EXPORT_MACRO PLUGINDLLEXPORT_PRO
......@@ -15,5 +18,6 @@ calamares_add_plugin( locale
locale.qrc
LINK_LIBRARIES
calamaresui
${MARBLE_LIBRARIES}
SHARED_LIB
)
find_path( MARBLE_INCLUDE_DIR NAMES marble/MarbleModel.h
HINTS
${CMAKE_INSTALL_INCLUDEDIR}
)
find_library( MARBLE_LIBRARIES NAMES marblewidget
HINTS
${CMAKE_INSTALL_LIBDIR}
)
include( FindPackageHandleStandardArgs )
find_package_handle_standard_args( Marble REQUIRED_VARS MARBLE_LIBRARIES MARBLE_INCLUDE_DIR )
mark_as_advanced(MARBLE_INCLUDE_DIR MARBLE_LIBRARIES)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment