mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-29 00:00:03 +02:00
13 lines
343 B
CMake
13 lines
343 B
CMake
include(FindPkgConfig OPTIONAL)
|
|
if (PKG_CONFIG_FOUND)
|
|
include(FindPkgConfig)
|
|
pkg_check_modules(GTK gtk+-2.0)
|
|
if (XWINDOWS)
|
|
pkg_check_modules(GTKGL gtkglext-x11-1.0)
|
|
elseif (WIN32)
|
|
pkg_check_modules(GTKGL gtkglext-win32-1.0)
|
|
else ()
|
|
pkg_check_modules(GTKGL gtkglext-quartz-1.0)
|
|
endif ()
|
|
endif ()
|