Remove pragmas that do nothing and mark as SYSTEM

This commit is contained in:
PabloMK7
2023-10-03 21:18:43 +02:00
parent 0b11a2b790
commit 62ee5e2cdc
2 changed files with 1 additions and 8 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ if (NOT OPENSSL_FOUND)
set(LIBRESSL_SKIP_INSTALL ON CACHE BOOL "")
set(OPENSSLDIR "/etc/ssl/")
add_subdirectory(libressl EXCLUDE_FROM_ALL)
target_include_directories(ssl INTERFACE ./libressl/include)
target_include_directories(ssl SYSTEM INTERFACE ./libressl/include)
target_compile_definitions(ssl PRIVATE -DHAVE_INET_NTOP)
get_directory_property(OPENSSL_LIBRARIES
DIRECTORY libressl