← Back to team overview

cairo-dock-team team mailing list archive

[Question #140492]: Passing CMake configure flags

 

New question #140492 on Cairo-Dock Plug-ins:
https://answers.launchpad.net/cairo-dock-plug-ins/+question/140492

Apologies if this is obvious.

I've tried various forms, for example:

-DENABLE_KDE=OFF
-DENABLE_KDE_INTEGRATION=OFF
-DCMAKE_ENABLE_KDE_INTEGRATION=OFF
-DWITH_KDE=OFF
-DWITH_KDE_INTEGRATION=OFF
-DWITH_KDE_INTEGRATION=OFF
-DENABLE-KDE=OFF
-DENABLE-KDE_INTEGRATION=OFF
-DCMAKE-ENABLE_KDE_INTEGRATION=OFF
-DWITH-KDE=OFF
-DWITH-KDE_INTEGRATION=OFF
-DWITH-KDE-INTEGRATION=OFF

and the same in lower case, with OFF replaced by 0...

after finding in CMakeLists.txt:

############# KDE-INTEGRATION #################
set (with_kde_integration "no")
if (NOT "${enable-kde-integration}" STREQUAL "no")
        pkg_check_modules (KDE_INTEGRATION gio-2.0)
        if ("${KDE_INTEGRATION_FOUND}" STREQUAL "")
                message (STATUS "Could not find kde libs; Cairo-Dock won't be built with KDE support.")
        else()
                set (VERSION_KDE_INTEGRATION "0.0.1")
                set (PACKAGE_KDE_INTEGRATION "cd_kde-integration")
                set (with_kde_integration "yes")
                set (kde_integrationdatadir "${pluginsdatadir}/kde-integration")
                add_subdirectory ("kde-integration")
        endif()
endif()


but each time I ended up with 

--  - with KDE support:               yes

Pardon me for missing something that I imagine is right in front of my eyes...but what flags need to be passed to disable plugins?

You received this question notification because you are a member of
Cairo-Dock Team, which is an answer contact for Cairo-Dock Plug-ins.