mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-06 02:33:44 -04:00
Fixed NetBSD build issues
- Added missing include - Fixed X11 include directory not being included
This commit is contained in:
parent
3066887ff4
commit
23393904e0
2 changed files with 12 additions and 2 deletions
11
externals/CMakeLists.txt
vendored
11
externals/CMakeLists.txt
vendored
|
|
@ -499,6 +499,15 @@ if (ENABLE_VULKAN)
|
||||||
else()
|
else()
|
||||||
target_include_directories(vulkan-headers INTERFACE ./vulkan-headers/include)
|
target_include_directories(vulkan-headers INTERFACE ./vulkan-headers/include)
|
||||||
target_disable_warnings(vulkan-headers)
|
target_disable_warnings(vulkan-headers)
|
||||||
|
if (BSD STREQUAL "NetBSD")
|
||||||
|
# There may be a better way to do this with
|
||||||
|
# find_package(X11), but I couldn't get
|
||||||
|
# CMake to do it, so we're depending on
|
||||||
|
# the x11-links package and assuming the
|
||||||
|
# prefix location. -OS
|
||||||
|
target_include_directories(vulkan-headers INTERFACE
|
||||||
|
/usr/pkg/share/x11-links/include)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# adrenotools
|
# adrenotools
|
||||||
|
|
@ -519,4 +528,4 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|ARM64|armv8")
|
||||||
else()
|
else()
|
||||||
target_compile_definitions(xxhash PRIVATE XXH_VECTOR=XXH_SCALAR)
|
target_compile_definitions(xxhash PRIVATE XXH_VECTOR=XXH_SCALAR)
|
||||||
message(STATUS "Disabling SIMD for xxHash")
|
message(STATUS "Disabling SIMD for xxHash")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
// Copyright 2023 Citra Emulator Project
|
// Copyright Citra Emulator Project / Azahar Emulator Project
|
||||||
// Licensed under GPLv2 or any later version
|
// Licensed under GPLv2 or any later version
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <bit>
|
||||||
#include <boost/serialization/binary_object.hpp>
|
#include <boost/serialization/binary_object.hpp>
|
||||||
|
|
||||||
#include "common/vector_math.h"
|
#include "common/vector_math.h"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue