Page 1 of 1

Build issue with PLUGINS_DIR

Posted: Sat Oct 19, 2024 3:57 am
by Fisiu

Hi,

I'm trying to build the latest stable release on openSUSE Tumbleweed.
I'm calling cmake with the following args:

Code: Select all

%cmake \
   %if %{with clang}
  -DENABLE_CLANG=1 \
  %endif
  -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
  -DCMAKE_SHARED_LINKER_FLAGS="" \
  -DCMAKE_SKIP_RPATH=OFF \
  -DCMAKE_EXE_LINKER_FLAGS="-pie"

However PLUGINS_DIR is set to /usr/lib/codelite instead of /usr/lib64/codelite:

Code: Select all

[    4s] -- BUILD_DIRECTORY is set to /home/abuild/rpmbuild/BUILD/codelite-17.0/build
[    4s] -- OS name Linux
[    4s] -- wx-config used is: /usr/bin/wx-config
[    4s] -- wxWidgets version is: 3.2.6
[    4s] -- gtk version is: 3
[    4s] -- CL_INSTALL_BIN is set to /usr/bin
[    4s] -- PLUGINS_DIR is set to /usr/lib/codelite
[    4s] CMake Deprecation Warning at cmake/Modules/OSXInstall.cmake:1 (cmake_minimum_required):
[    4s]   Compatibility with CMake < 3.5 will be removed from a future version of
[    4s]   CMake.

Am I missing something or CMakeLists.txt does not set PLUGINS_DIR properly?


Re: Build issue with PLUGINS_DIR

Posted: Sat Oct 19, 2024 12:16 pm
by eranif

I suggest to post this on GitHub - it will get more attention there