LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-02-2015, 01:53 AM   #1
igor29768
LQ Newbie
 
Registered: Oct 2015
Distribution: Slackware64-current
Posts: 25

Rep: Reputation: Disabled
Slackware-current: /usr/share/cmake and /usr/share/cmake-3.3 directories


I was trying to add 'find_package(Xcm)' to a CMakeLists.txt and found that the current Slackware libXcm-0.5.2 package installs Xcm cmake module FindXcm.cmake to /usr/share/cmake instead of the cmake default /usr/share/cmake-3.3 . Thus, cmake could not find "FindXcm.cmake" in CMAKE_MODULE_PATH.

Two other packages, libproxy-0.4.11 and shared-desktop-ontologies-0.11.0 install their cmake modules to /usr/share/cmake as well. I am wondering, if this is by design in order to not mix various cmake versions? I've copied all the content /usr/share/cmake files to the /usr/share/cmake-3.3 and made a link ln -s cmake-3.3 cmake, which solved my cmake build problems, but perhaps this is not the best solution?
 
Old 11-07-2015, 12:37 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I'm not sure if it's by design or not; however I would of done much of the same (copied from one directory to another + a link) as you did to fix the issue.

-::-If there is another approach I'm sure our members will chime in.-::-
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
careless changes to /usr permissions, /usr/share for USB, ALSA, wireless et al Can-ned Food Linux - Newbie 1 10-02-2015 09:31 AM
Redirect an app resource folder from system /usr/share to /home/user/[app]/usr/share minyor Linux - Software 2 04-23-2013 06:44 AM
cmake: Using find_package(Boost) when FindBoost.cmake is not in the default location damien_d Programming 3 10-27-2010 03:40 PM
Need surefire way to build 64-bit libs with cmake -> /usr/lib64 H_TeXMeX_H Linux - Software 1 03-21-2010 01:01 AM
Slackware '-current' '/usr/share/pci.ids' file is dated onebuck Slackware 6 03-09-2010 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration