Commit 04135ea4 authored by Christophe Giboudeaux's avatar Christophe Giboudeaux

Revert for the moment. This whole check is ugly and doesn't work at all.

I'll try something cleaner later.

This reverts commit 0dfe0b5402b59f3ba06bde8224a2ad997e13f53c.
parent c9c8eaee
......@@ -226,7 +226,7 @@ if(${KDE_VERSION} VERSION_GREATER 4.6.40)
int main() { return 0; }")
set(_source_file ${CMAKE_BINARY_DIR}/CMakeTmp/check_kalarmcal_akonadi.cpp)
file(WRITE "${_source_file}" "${_source}")
set(_include_dirs "-DINCLUDE_DIRECTORIES:STRING=${KDEPIMLIBS_INCLUDE_DIRS}")
set(_include_dirs "-DINCLUDE_DIRECTORIES:STRING=${KDE4_INCLUDES}")
set(_try_kalarm_akonadi_compile)
try_compile(HAVE_PIMLIBS_AKONADI ${CMAKE_BINARY_DIR} ${_source_file}
CMAKE_FLAGS "${_include_dirs};${QT_INCLUDE_DIR}"
......
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