[CMake] Combine GTK with a Cmake Project
David Boesner
david.boesner at googlemail.com
Tue Oct 18 07:40:55 EDT 2011
Hi,
I've tried to combine CMake with GTK. Unfortunately this didn't
work. Can you help me?
Regard
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111018/35437765/attachment.htm>
-------------- next part --------------
cmake_minimum_required(VERSION 2.8)
project (GUI)
add_executable(TEST test.c)
#find_package(libtpm-unseal-dev COMPONENTS tpm_unseal REQUIRED)
set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ./ )
find_package(libgtk-3-dev REQUIRED)
TARGET_LINK_LIBRARIES(TEST libgtk-3-dev)
install (TARGETS TEST RUNTIME DESTINATION bin)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Findlibgtk-3-dev.cmake
Type: text/x-cmake
Size: 1059 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111018/35437765/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 294 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111018/35437765/attachment.c>
More information about the CMake
mailing list