Robert Osfield wrote:
On Sat, May 31, 2008 at 7:20 AM, Philip Lowman [EMAIL PROTECTED] wrote:
The posted workaround of checking the version number will work fine,
alternatively one could replace
FIND_PACKAGE(PkgConfig)
with
INCLUDE(FindPkgConfig OPTIONAL)
Which eliminates the error message
-- Forwarded message --
From: Robert Osfield [EMAIL PROTECTED]
Date: Sat, May 31, 2008 at 8:44 AM
Subject: Re: [osg-users] CMake issue on RHEL 5
To: Philip Lowman [EMAIL PROTECTED]
Hi Philip,
On Sat, May 31, 2008 at 7:20 AM, Philip Lowman [EMAIL PROTECTED] wrote:
The posted
Hi Jason,
In the SVN version of the OSG there is a catch for this.
FYI, the PgConfig support works from 2.4.7 on my system so you are
possible just a bit unlucky.
I will putting out a 2.5.1 release today once I've done some bug fixing work.
Robert.
On Fri, May 30, 2008 at 12:23 AM, Jason Daly
Robert Osfield wrote:
The new code is in OpenSceneGraph/CMakeLists.txt is:
#use pkg-config to find various modues
FIND_PACKAGE(PkgConfig)
IF(PKG_CONFIG_FOUND)
...
Yes, as I said, that code is in the version I have.
This should prevent problems. Could you please post problems you get
Hi Jason,
On Fri, May 30, 2008 at 6:59 PM, Jason Daly [EMAIL PROTECTED] wrote:
Robert Osfield wrote:
The new code is in OpenSceneGraph/CMakeLists.txt is:
#use pkg-config to find various modues
FIND_PACKAGE(PkgConfig)
IF(PKG_CONFIG_FOUND)
...
Yes, as I said, that code is in the version
Hi Jason,
I have introduced the follow:
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}
STRGREATER 2.4.5)
FIND_PACKAGE(PkgConfig)
ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}
STRGREATER 2.4.5)
Hopefully this will fix your outdated
Robert Osfield wrote:
Hi Jason,
I have introduced the follow:
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}
STRGREATER 2.4.5)
FIND_PACKAGE(PkgConfig)
ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}
STRGREATER 2.4.5)
Hopefully this
Robert Osfield wrote:
I could easily do that on one workstation, yes. It's more of an issue when
you're dealing with a lab of several dozen workstations. This is why we pay
to run Red Hat Enterprise.
Pay for out of date tools... do you get upgrades included?
Of course, in fact, we
Robert Osfield wrote:
Hi Jason,
I have introduced the follow:
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}
STRGREATER 2.4.5)
FIND_PACKAGE(PkgConfig)
ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}
STRGREATER 2.4.5)
Hopefully this
Hi, all,
On Red Hat Enterprise 5 (update 2), I'm getting the following from CMake
with the latest svn:
CMake Error: PkgConfig_DIR is not set. It must be set to the directory
containing PkgConfigConfig.cmake in order to use PkgConfig.
This is with CMake 2.4.5 (the version that ships with RHEL
10 matches
Mail list logo