Fix builds on macOS
This commit is contained in:
parent
2fb9bced40
commit
6b0c77d50e
5 changed files with 18 additions and 0 deletions
|
@ -16,6 +16,8 @@
|
|||
cmake_minimum_required(VERSION 3.10)
|
||||
project(reone)
|
||||
|
||||
set (CMAKE_CXX_STANDARD 14)
|
||||
|
||||
add_subdirectory(src/external/s3tc)
|
||||
|
||||
option(BUILD_TOOLS "build tools executable" ON)
|
||||
|
|
|
@ -23,7 +23,11 @@
|
|||
|
||||
#include "glm/gtx/norm.hpp"
|
||||
|
||||
#if __APPLE__
|
||||
#include "OpenAL/al.h"
|
||||
#else
|
||||
#include "AL/al.h"
|
||||
#endif
|
||||
|
||||
#include "../common/log.h"
|
||||
#include "../common/guardutil.h"
|
||||
|
|
|
@ -27,7 +27,11 @@
|
|||
|
||||
#include <boost/noncopyable.hpp>
|
||||
|
||||
#if __APPLE__
|
||||
#include "OpenAL/alc.h"
|
||||
#else
|
||||
#include "AL/alc.h"
|
||||
#endif
|
||||
|
||||
#include "glm/vec3.hpp"
|
||||
|
||||
|
|
|
@ -20,7 +20,11 @@
|
|||
#include <stdexcept>
|
||||
#include <utility>
|
||||
|
||||
#if __APPLE__
|
||||
#include "OpenAL/al.h"
|
||||
#else
|
||||
#include "AL/al.h"
|
||||
#endif
|
||||
|
||||
#include "../common/log.h"
|
||||
|
||||
|
|
|
@ -20,7 +20,11 @@
|
|||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
||||
#if __APPLE__
|
||||
#include "OpenAL/al.h"
|
||||
#else
|
||||
#include "AL/al.h"
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
Loading…
Reference in a new issue