d33d8c5626
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 '/'. "
29 lines
1.0 KiB
PkgConfig
29 lines
1.0 KiB
PkgConfig
# pkg-config source file
|
|
|
|
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
libdir=${exec_prefix}/lib@LIB_POSTFIX@
|
|
includedir=${prefix}/include
|
|
|
|
Name: openscenegraph
|
|
Description: 3D scenegraph
|
|
Version: @OPENSCENEGRAPH_VERSION@
|
|
Requires: openthreads
|
|
Conflicts:
|
|
Libs: -L${libdir} -losg@CMAKE_BUILD_POSTFIX@ \
|
|
-losgDB@CMAKE_BUILD_POSTFIX@ \
|
|
-losgFX@CMAKE_BUILD_POSTFIX@ \
|
|
-losgGA@CMAKE_BUILD_POSTFIX@ \
|
|
-losgParticle@CMAKE_BUILD_POSTFIX@ \
|
|
-losgSim@CMAKE_BUILD_POSTFIX@ \
|
|
-losgText@CMAKE_BUILD_POSTFIX@ \
|
|
-losgUtil@CMAKE_BUILD_POSTFIX@ \
|
|
-losgTerrain@CMAKE_BUILD_POSTFIX@ \
|
|
-losgManipulator@CMAKE_BUILD_POSTFIX@ \
|
|
-losgViewer@CMAKE_BUILD_POSTFIX@ \
|
|
-losgWidget@CMAKE_BUILD_POSTFIX@ \
|
|
-losgShadow@CMAKE_BUILD_POSTFIX@ \
|
|
-losgAnimation@CMAKE_BUILD_POSTFIX@ \
|
|
-losgVolume@CMAKE_BUILD_POSTFIX@
|
|
Cflags: -I${includedir}
|