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 '/'. "
15 lines
335 B
PkgConfig
15 lines
335 B
PkgConfig
# pkg-config source file
|
|
|
|
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
libdir=${exec_prefix}/lib@LIB_POSTFIX@
|
|
includedir=${prefix}/include
|
|
|
|
Name: openscenegraph-osg
|
|
Description: 3D scenegraph
|
|
Version: @OPENSCENEGRAPH_VERSION@
|
|
Requires: openthreads
|
|
Conflicts:
|
|
Libs: -L${libdir} -losg@CMAKE_BUILD_POSTFIX@
|
|
Cflags: -I${includedir}
|