16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 13:59:19 +02:00

fix compiling on MacOS

This commit is contained in:
milek
2019-03-25 20:17:27 +00:00
parent 409a5340aa
commit 33a4bb2b14
4 changed files with 12 additions and 2 deletions

View File

@@ -30,6 +30,10 @@ file(GLOB HEADERS "*.h"
"network/backend/*.h"
"widgets/*.h")
if (APPLE)
set (CMAKE_EXE_LINKER_FLAGS "-pagezero_size 10000 -image_base 100000000")
endif()
option(USE_IMGUI_GL3 "Use OpenGL3+ imgui implementation" ON)
option(WITH_UART "Compile with libserialport" OFF)