[CMake] Some questions
Philip Lowman
philip at yhbt.com
Fri Apr 4 21:40:45 EDT 2008
On Fri, Apr 4, 2008 at 8:58 PM, MD or MD <tres.14159 at gmail.com> wrote:
>
> - And the last, I don´t know hot to use cmake in this example with
> gtk:
>
There is unfortunately no standardized FindGTK2.cmake module shipped with
CMake. You'll need to find one online, copy it to your source tree and do
something like the following:
SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
FIND_PACKAGE(GTK2)
...and then use INCLUDE_DIRECTORIES() and TARGET_LINK_LIBRARIES as in the
SDL example to include the proper directories and link your targets against
the GTK libraries.
--
Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080404/54fdfb72/attachment.htm>
More information about the CMake
mailing list