Hello,
I'm experiencing an odd behaviour of the INCLUDE_DIRECTORY command.
Here's the relevant code:
INCLUDE(UsePkgConfig)
FOREACH(library sdl libpng freetype2)
PKGCONFIG(${library} INC LIB LD C)
IF(C)
INCLUDE_DIRECTORIES(${C})
TARGET_LINK_LIBRARIES(wowtris ${LD})
ELSE(C)
Salvatore Iovene wrote:
Am I doing something obviously wrong?
Using an older version of CMake when making a bug report? :-)
My cmake version is 2.4-patch 5.
See if it's a problem with 2.4.6.
Cheers,
Brandon Van Every
___
CMake mailing
On Sat, 24 Mar 2007 07:56:21 -0700 Brandon J. Van Every
[EMAIL PROTECTED] wrote:
Salvatore Iovene wrote:
Am I doing something obviously wrong?
Using an older version of CMake when making a bug report? :-)
I'm not filing a bug report, as nowhere I alleged this would be a cmake
bug.
Hello,
I'm experiencing an odd behaviour of the INCLUDE_DIRECTORY command.
Here's the relevant code:
INCLUDE(UsePkgConfig)
FOREACH(library sdl libpng freetype2)
PKGCONFIG(${library} INC LIB LD C)
IF(C)
INCLUDE_DIRECTORIES(${C})
TARGET_LINK_LIBRARIES(wowtris ${LD})
ELSE(C)