fix system include paths

This commit is contained in:
Alexandre Bouvier 2024-06-25 16:40:55 +02:00
parent 8f45be7d44
commit a2224a9b6b
5 changed files with 15 additions and 10 deletions

View File

@ -28,9 +28,12 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND MSVC)
target_include_directories(cryptoppwin INTERFACE cryptoppwin/include)
else()
# CryptoPP
set(CRYPTOPP_INSTALL OFF)
set(CRYPTOPP_BUILD_TESTING OFF)
set(CRYPTOPP_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/cryptopp/)
add_subdirectory(cryptopp-cmake EXCLUDE_FROM_ALL)
file(COPY cryptopp DESTINATION cryptopp FILES_MATCHING PATTERN "*.h")
target_include_directories(cryptopp INTERFACE "${CMAKE_CURRENT_BINARY_DIR}/cryptopp")
endif()
# Zlib-Ng
@ -60,6 +63,8 @@ set(ENABLE_HLSL OFF CACHE BOOL "")
set(BUILD_EXTERNAL OFF CACHE BOOL "")
set(ENABLE_OPT OFF CACHE BOOL "")
add_subdirectory(glslang)
file(COPY glslang/SPIRV DESTINATION glslang/glslang FILES_MATCHING PATTERN "*.h")
target_include_directories(SPIRV INTERFACE "${CMAKE_CURRENT_BINARY_DIR}/glslang")
# Robin-map
add_subdirectory(robin-map EXCLUDE_FROM_ALL)

@ -1 +1 @@
Subproject commit 0dd224c6812cd038e9f4691d2f869dd57b547ff1
Subproject commit bc3441dd2d6a9728e747dc0180bc8b9065a2923c

View File

@ -4,13 +4,13 @@
#pragma once
#include <span>
#include <aes.h>
#include <filters.h>
#include <modes.h>
#include <oaep.h>
#include <osrng.h>
#include <rsa.h>
#include <sha.h>
#include <cryptopp/aes.h>
#include <cryptopp/filters.h>
#include <cryptopp/modes.h>
#include <cryptopp/oaep.h>
#include <cryptopp/osrng.h>
#include <cryptopp/rsa.h>
#include <cryptopp/sha.h>
#include "common/types.h"
#include "keys.h"

View File

@ -2,7 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <rsa.h>
#include <cryptopp/rsa.h>
class FakeKeyset {
public:

View File

@ -2,9 +2,9 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include <memory>
#include <SPIRV/GlslangToSpv.h>
#include <glslang/Include/ResourceLimits.h>
#include <glslang/Public/ShaderLang.h>
#include <glslang/SPIRV/GlslangToSpv.h>
#include "common/assert.h"
#include "common/logging/log.h"
#include "video_core/renderer_vulkan/vk_shader_util.h"