If FLATPAK_BUILDis Set, Check /usr/lib/x86_64-linux-gnu/include Directory

This commit is contained in:
Thomas A 2022-03-12 10:26:08 -08:00
parent 7edb4834c7
commit af452c781e

View File

@ -1,5 +1,11 @@
project(cocotron)
if(FLATPAK_BUILD)
# For some reason, some of the header files are not included in the
# `/usr/include` directory.
include_directories("/usr/lib/x86_64-linux-gnu/include")
endif(FLATPAK_BUILD)
add_subdirectory(CoreGraphics)
add_subdirectory(Onyx2D)
add_subdirectory(AppKit)