This website requires JavaScript.
Explore
Help
Sign In
FGFS-4.1
/
OpenSceneGraph
Watch
4
Star
0
Fork
0
You've already forked OpenSceneGraph
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
910cfeea60
OpenSceneGraph
/
packaging
/
ld.so.conf.d
/
openscenegraph.conf.in
3 lines
81 B
Plaintext
Raw
Normal View
History
Unescape
Escape
From Mattias Helsing, "this is a semi-submission based on what you and others have been talking about in the LIB_POSTFIX thread. It is a bit verbose perhaps and the message I emit during the make install step flashes by and gets burried under all "installing..." and/or "up-to-date..." messages. I have posted on the cmake mail list on ways to do this better. The submission adds: * message to user during configuration that s/he's eventually going o install to ${CMAKE_INSTALL_PREFIX}lib${LIB_POSTFIX} * if system has /etc/ld.so.conf.d and it is a dir generates packaging/ld.so.conf.d/openscenegraph.conf and creates a custom target for installing it (target must be run explicitly of course). User is notified of this during configuration (may not be necessary) * emit a message during installation that libraries are put in <same-as-above>. This message unfortunately gets emitted to soon for the user to see it * I added "COMPONENT libopenscenegraph-dev" to the pkgconfig.pc's install command * Moved the section with OSG_CONFIG_HAS_BEEN_RUN_BEFORE as close to the end of CMakeLists.txt as I dared. This is the intent of this construct I think."
2009-01-28 17:42:21 +08:00
# openscenegraph library configuration
From Alan Dickinson, "I modified the CPack and CMake files to utilze the CMAKE_INSTALL_PREFIX when building RPM packages. I also modified the CMake and pkgconfig files to append the _POSTFIX extenstion based on the CMAKE_BUILD_TYPE. Additionally I fixed packaging/ld.so.conf.d/openscenegraph.conf.in to add a '/' betweeen the arguments since the CMAKE_INSTALL_PREFIX can't end with a '/'. "
2011-03-11 18:18:43 +08:00
${CMAKE_INSTALL_PREFIX}/lib${LIB_POSTFIX}
Reference in New Issue
Copy Permalink