Commit 314ea681 authored by Thomas Zander's avatar Thomas Zander

Provide an error message as to why kspread is not build

svn path=/trunk/koffice/; revision=634558
parent 230c7e60
......@@ -118,7 +118,13 @@ endif(SHOULD_BUILD_KARBON)
if(EIGEN_FOUND)
set(SHOULD_BUILD_KSPREAD true)
else(EIGEN_FOUND)
set(SHOULD_BUILD_KSPREAD FALSE)
message(STATUS "KSpread requires the eigen library, KSpread will not be built.\n"
" If you want to compile KSpread you should install:\n"
" lib eigen http://eigen.tuxfamily.org")
endif(EIGEN_FOUND)
if(SHOULD_BUILD_KSPREAD)
add_subdirectory(kspread)
endif(SHOULD_BUILD_KSPREAD)
......
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