updated build system

This commit is contained in:
2024-08-02 10:53:11 -05:00
parent f4a3c52428
commit 098d172f40
104 changed files with 3725 additions and 1635 deletions

View File

@ -13,6 +13,16 @@ include(CheckIncludeFileCXX)
include(CheckIncludeFiles)
include(ExternalProject)
check_include_files(sys/xattr.h HAS_SETXATTR)
if(HAS_SETXATTR)
add_definitions(-DHAS_SETXATTR)
endif()
check_include_files("wordexp.h" HAS_WORDEXP_H)
if(HAS_WORDEXP_H)
add_definitions(-DHAS_WORDEXP_H)
endif()
include(cmake/versions.cmake)
include(cmake/arch.cmake)
include(cmake/os.cmake)