mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-15 12:20:01 +01:00
Compilation fix (OSX)
This commit is contained in:
@@ -334,6 +334,7 @@ include_directories(
|
||||
${IMGUITEXTEDIT_INCLUDE_DIR}
|
||||
)
|
||||
add_library(IMGUITEXTEDIT "${CMAKE_CURRENT_SOURCE_DIR}/ext/ImGuiColorTextEdit/TextEditor.cpp")
|
||||
set_property(TARGET IMGUITEXTEDIT PROPERTY CXX_STANDARD 17)
|
||||
message(STATUS "Compiling 'ImGuiColorTextEdit' from https://github.com/BalazsJako/ImGuiColorTextEdit -- ${IMGUITEXTEDIT_INCLUDE_DIR}")
|
||||
|
||||
|
||||
|
||||
@@ -336,7 +336,7 @@ std::string MultiFileRecorder::assemble (MultiFileRecorder *rec)
|
||||
stbi_info( rec->files_.front().c_str(), &rec->width_, &rec->height_, &rec->bpp_);
|
||||
|
||||
if ( rec->width_ < 10 || rec->height_ < 10 || rec->bpp_ < 3 ) {
|
||||
Log::Warning("MultiFileRecorder: Invalid image %s.", rec->files_.front());
|
||||
Log::Warning("MultiFileRecorder: Invalid image %s.", rec->files_.front().c_str());
|
||||
return filename;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
#ifdef APPLE
|
||||
#include "osx/CocoaToolkit.h"
|
||||
#define GLFW_EXPOSE_NATIVE_COCOA
|
||||
#define GLFW_EXPOSE_NATIVE_NSGL
|
||||
#else
|
||||
@@ -48,6 +47,7 @@
|
||||
#include <gst/gl/gstglcontext.h>
|
||||
|
||||
#ifdef GLFW_EXPOSE_NATIVE_COCOA
|
||||
//#include "osx/CocoaToolkit.h"
|
||||
//#include <gst/gl/cocoa/gstgldisplay_cocoa.h>
|
||||
#endif
|
||||
#ifdef GLFW_EXPOSE_NATIVE_GLX
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
|
||||
#include <zlib.h>
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include <tinyxml2.h>
|
||||
#include "tinyxml2Toolkit.h"
|
||||
|
||||
Reference in New Issue
Block a user