Commit c9c8eaee authored by Christophe Giboudeaux's avatar Christophe Giboudeaux

Include the correct dir

parent 523e18d4
......@@ -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=${KDE4_INCLUDES}")
set(_include_dirs "-DINCLUDE_DIRECTORIES:STRING=${KDEPIMLIBS_INCLUDE_DIRS}")
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