Commit 438c5b83 authored by Martin Klapetek's avatar Martin Klapetek

Build the Facebook resource only if KAccounts and AccountsQt5 were found

parent d3ed331a
......@@ -136,9 +136,8 @@ if( KF5GAPI_FOUND )
#add_subdirectory( gmail )
endif()
# Uncomment when api will fix
if( KF5FbAPI_FOUND )
add_subdirectory( facebook )
if (KF5FbAPI_FOUND AND KAccounts_FOUND AND AccountsQt5_FOUND)
add_subdirectory(facebook)
endif()
add_subdirectory( shared )
......
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