Build issue with PLUGINS_DIR

Discussion about CodeLite development process and patches
Fisiu
CodeLite Curious
Posts: 3
Joined: Mon Mar 09, 2009 10:29 pm
Contact:

Build issue with PLUGINS_DIR

Post 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?

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Build issue with PLUGINS_DIR

Post by eranif »

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

Make sure you have read the HOW TO POST thread
Post Reply