kde2 icon indicating copy to clipboard operation
kde2 copied to clipboard

Configure fails. kde2_library.cmake:112 (export): export Unknown argument: "TARGETS".

Open Zorgodon opened this issue 5 years ago • 5 comments

I'm trying to compile this on Arch (CMake 3.18), but I'm getting an error that TARGETS are not defined in kde2_library.cmake

CMake Error at kdelibs/cmake/kde2_library.cmake:112 (export): export Unknown argument: "TARGETS". Call Stack (most recent call first): kdelibs/dcop/CMakeLists.txt:60 (kde2_library)

CMake Error at kdelibs/cmake/kde2_library.cmake:112 (export): export Unknown argument: "TARGETS". Call Stack (most recent call first): kdelibs/kdecore/CMakeLists.txt:91 (kde2_library)

And so on... Error Log: https://pastebin.com/Y4mPZ3An

I'm not sure how to proceed here.

Zorgodon avatar Jul 26 '20 16:07 Zorgodon

Also getting this error -- though I'm getting it at line 111.

 CMake Error at kdelibs/cmake/kde2_library.cmake:111 (export):
  export Unknown argument: "TARGETS".
Call Stack (most recent call first):
  kdelibs/dcop/CMakeLists.txt:60 (kde2_library)


CMake Error at kdelibs/cmake/kde2_library.cmake:111 (export):
  export Unknown argument: "TARGETS".
Call Stack (most recent call first):
  kdelibs/kdecore/CMakeLists.txt:91 (kde2_library)

lepidotos avatar May 01 '22 23:05 lepidotos

Hi. Which cmake version are you using ?

heliocastro avatar May 04 '22 05:05 heliocastro

3.16.3, according to itself.

lepidotos avatar Jul 05 '22 00:07 lepidotos

CMakeOutput and CMakeError output CMakeError.log CMakeOutput.log :

lepidotos avatar Jul 15 '22 23:07 lepidotos

same thing happens to me, too. manjaro, cmake 3.27.7

dymoksc avatar Nov 19 '23 15:11 dymoksc