mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-05 15:30:00 +01:00
OSX 14 M2 platform compilation
This commit is contained in:
@@ -61,11 +61,11 @@ if(UNIX)
|
||||
set(CMAKE_SKIP_RPATH TRUE)
|
||||
set(OpenGL_DIR /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/)
|
||||
|
||||
set(CMAKE_OSX_ARCHITECTURES "x86_64")
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "11")
|
||||
# set(CMAKE_OSX_ARCHITECTURES "x86_64")
|
||||
# set(CMAKE_OSX_DEPLOYMENT_TARGET "11")
|
||||
|
||||
# set(CMAKE_OSX_ARCHITECTURES "arm64")
|
||||
# set(CMAKE_OSX_DEPLOYMENT_TARGET "12")
|
||||
set(CMAKE_OSX_ARCHITECTURES "arm64")
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "13")
|
||||
|
||||
# CPACK
|
||||
set(CPACK_SYSTEM_NAME "OSX_${CMAKE_OSX_DEPLOYMENT_TARGET}_${CMAKE_OSX_ARCHITECTURES}")
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
#include <chrono>
|
||||
#include <algorithm>
|
||||
|
||||
#if ((ULONG_MAX) != (UINT_MAX))
|
||||
#define _M_X64
|
||||
#endif
|
||||
#include "osc/OscOutboundPacketStream.h"
|
||||
|
||||
#include "defines.h"
|
||||
|
||||
@@ -25,6 +25,9 @@
|
||||
#include <regex>
|
||||
|
||||
#include <GLFW/glfw3.h>
|
||||
#if ((ULONG_MAX) != (UINT_MAX))
|
||||
#define _M_X64
|
||||
#endif
|
||||
#include "osc/OscOutboundPacketStream.h"
|
||||
|
||||
#include "Log.h"
|
||||
|
||||
@@ -27,6 +27,9 @@
|
||||
#include <gst/pbutils/pbutils.h>
|
||||
#include <gst/gst.h>
|
||||
|
||||
#if ((ULONG_MAX) != (UINT_MAX))
|
||||
#define _M_X64
|
||||
#endif
|
||||
#include "osc/OscOutboundPacketStream.h"
|
||||
|
||||
#include "SystemToolkit.h"
|
||||
|
||||
@@ -364,7 +364,7 @@ void ShaderEditWindow::Render()
|
||||
// cancel edit clone
|
||||
else {
|
||||
// possibility that source was removed
|
||||
g_printerr("cancel edit clone %ld\n", current_);
|
||||
// g_printerr("cancel edit clone %ld\n", current_);
|
||||
|
||||
// disable editor
|
||||
_editor.SetReadOnly(true);
|
||||
|
||||
@@ -33,6 +33,9 @@
|
||||
#include <gst/pbutils/pbutils.h>
|
||||
|
||||
//osc
|
||||
#if ((ULONG_MAX) != (UINT_MAX))
|
||||
#define _M_X64
|
||||
#endif
|
||||
#include "osc/OscOutboundPacketStream.h"
|
||||
|
||||
#include "Settings.h"
|
||||
|
||||
Reference in New Issue
Block a user