From f31a570d96e1a0ee28baecefa18b7e8c586c201c Mon Sep 17 00:00:00 2001 From: Didier 'OdyX' Raboud Date: Wed, 23 Oct 2013 14:49:36 +0200 Subject: Include SDL.h in main.cpp to make sure the main loop is SDL's main loop This allows the MacOSX program to start. --- src/app/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/main.cpp b/src/app/main.cpp index 5c0afd3..1e70beb 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -28,6 +28,7 @@ #include "common/misc.h" #include "common/restext.h" +#include /* Doxygen main page */ -- cgit v1.2.3-1-g7c22 From 9ddb034bfa3416d64e298022bf594b4481261fae Mon Sep 17 00:00:00 2001 From: Didier 'OdyX' Raboud Date: Fri, 25 Oct 2013 12:01:29 +0200 Subject: Add libintl library to the unit tests on Mac OSX --- test/unit/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt index 34570a6..1f5e1bc 100644 --- a/test/unit/CMakeLists.txt +++ b/test/unit/CMakeLists.txt @@ -10,7 +10,8 @@ elseif(PLATFORM_LINUX) # for clock_gettime set(PLATFORM_LIBS "-lrt -lX11") elseif(PLATFORM_MACOSX) - set(PLATFORM_LIBS ${X11_X11_LIB}) + find_library(LIBINTL_LIBRARY NAMES intl libintl ) + set(PLATFORM_LIBS ${LIBINTL_LIBRARY} ${X11_X11_LIB}) endif() -- cgit v1.2.3-1-g7c22