dev/c/GLib_bcb/mylib/CMakeLists.txt

9 lines
223 B
CMake
Raw Normal View History

2012-05-24 17:38:55 +04:00
include (FindPkgConfig)
include (cmake_FindGlib)
include_directories (${GLIB_INCLUDE_DIR})
include_directories (${GLIB_PKG_INCLUDE_DIRS})
add_library (mylib SHARED mylib.c)
target_link_libraries (mylib ${GLIB_LIBRARIES})