Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 06ffa119 authored by Mehdi's avatar Mehdi
Browse files

fix gtk include

parent 698a438f
Branches
No related tags found
No related merge requests found
......@@ -16,7 +16,10 @@ elseif (APPLE)
REQUIRE_INCLUDE_FILE(AppKit/AppKit.h HAS_APPKIT)
list(APPEND SOURCES src/nfd_cocoa.m)
elseif (UNIX)
REQUIRE_INCLUDE_FILE(gtk/gtk.h HAS_GTK)
find_package (PkgConfig REQUIRED)
pkg_check_modules (GTK3 REQUIRED gtk+-3.0)
include_directories (${GTK3_INCLUDE_DIRS})
link_directories (${GTK3_LIBRARY_DIRS})
list(APPEND SOURCES src/nfd_gtk.c)
elseif (UNIX)
message(FATAL_ERROR "Cannot detect your system, please report to https://github.com/aarcangeli/nativefiledialog-cmake/issues")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment