kdelibs/kdecore/cmakelists KDE4_ENABLE_EXCEPTIONS cmake failure (4.8, 4.9)

Shaun Reich sreich at kde.org
Sun Jul 15 16:50:12 UTC 2012


line 393 of kdecore/cmakelists results in:

CMake Error at kdecore/CMakeLists.txt:393 (set_source_files_properties):
  set_source_files_properties called with incorrect number of arguments.

the line is:

        set_source_files_properties(util/kshareddatacache.cpp
            PROPERTIES COMPILE_FLAGS ${KDE4_ENABLE_EXCEPTIONS})

as suggested by mjansen, applying quotes around the variable fixes it.
is there a better solution, or is this fine to commit? (cmake errors
out without this change).

-- 
Shaun Reich,
KDE Software Developer (kde.org)


More information about the Kde-buildsystem mailing list