Commit dca75e30 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Let it build other versions even if QtMML wasn't found.

parent b6e84c07
......@@ -4,7 +4,7 @@ find_package(KDE4 REQUIRED)
include(KDE4Defaults)
set(CMAKE_MODULE_PATH ${kalgebra_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
find_package(LibKdeEdu REQUIRED)
find_package(LibKdeEdu)
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES} ${LIBKDEEDU_INCLUDE_DIR}/qtmml)
......@@ -18,6 +18,8 @@ macro_optional_find_package(OpenGL)
macro_bool_to_01(OPENGL_FOUND HAVE_OPENGL)
macro_log_feature(OPENGL_FOUND "OpenGL" "Support for 3D graphs in KAlgebra" "http://mesa3d.sourceforge.net" FALSE "" "")
macro_log_feature(QTMML_LIBRARY "QtMathML Widget" "Supports displaying some formulas in a mathematic form" "http://doc.qt.nokia.com/solutions/4/qtmmlwidget/qtmmlwidget.html" FALSE "" "")
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config-kalgebra.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/src/config-kalgebra.h)
option(INSTALL_ANALITZA_HEADERS "Analitza headers will be installed. No ABI compatibility is going to happen for now" OFF)
......@@ -26,13 +28,13 @@ include_directories(.)
add_subdirectory(doc)
add_subdirectory(analitza)
add_subdirectory(analitzagui)
add_subdirectory(src)
if(QTMML_LIBRARY)
add_subdirectory(src)
endif(QTMML_LIBRARY)
add_subdirectory(icons)
add_subdirectory(plasmoid)
add_subdirectory(utils)
if(NOT MSVC)
add_subdirectory(mobile)
endif(NOT MSVC)
add_subdirectory(mobile)
if(HAVE_READLINE)
add_subdirectory(calgebra)
endif(HAVE_READLINE)
......
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