MantisBT - CMake
View Issue Details
0008909CMakeCMakepublic2009-04-20 09:482014-06-02 08:37
Melaine GAUTIER 
Bill Hoffman 
normalmajoralways
closedno change required 
CMake-2-6 
 
0008909: bug : SET(CMAKE_C_FLAGS "-export-dynamic -std=c99 `pkg-config --cflags --libs libglade-2.0`") is not anymore usable
This line work fine in version 2.4 of CMake.

But since I go on version 2.6 of CMake, I'm unable to compile my project :
$ make
[ 4%] Built target header
[ 30%] Built target video-cpp-shared
Linking C executable bin/test1394
gcc: `pkg-config: No such file or directory
gcc: libglade-2.0`: No such file or directory
make[2]: *** [video/bin/test1394] Error 1
make[1]: *** [video/CMakeFiles/test1394.dir/all] Error 2




No tags attached.
Issue History
2009-04-20 09:48Melaine GAUTIERNew Issue
2009-04-20 10:32Bill HoffmanNote Added: 0016083
2009-04-20 10:33Bill HoffmanStatusnew => assigned
2009-04-20 10:33Bill HoffmanAssigned To => Bill Hoffman
2013-11-02 10:19Stephen KellyStatusassigned => resolved
2013-11-02 10:19Stephen KellyResolutionopen => no change required
2014-06-02 08:37Robert MaynardNote Added: 0035986
2014-06-02 08:37Robert MaynardStatusresolved => closed

Notes
(0016083)
Bill Hoffman   
2009-04-20 10:32   
Running backquoted commands from CMake has never been "supported". You should use the FindPkgConfig.cmake module instead.
(0035986)
Robert Maynard   
2014-06-02 08:37   
Closing resolved issues that have not been updated in more than 4 months.