From dc5fe5d25fbf5e19c06aed1c6b55a8997e30e305 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 2 Apr 2014 09:01:48 +1100 Subject: Fix bpy.so linking on Mac OS X D345 from Aleksandr Derbenev --- intern/locale/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'intern/locale/CMakeLists.txt') diff --git a/intern/locale/CMakeLists.txt b/intern/locale/CMakeLists.txt index 4dc447391fc..217fe9a8c71 100644 --- a/intern/locale/CMakeLists.txt +++ b/intern/locale/CMakeLists.txt @@ -36,6 +36,14 @@ set(SRC boost_locale_wrapper.h ) +if(WITH_HEADLESS) + add_definitions(-DWITH_HEADLESS) +endif() + +if(WITH_GHOST_SDL) + add_definitions(-DWITH_GHOST_SDL) +endif() + if(WITH_INTERNATIONAL) list(APPEND INC_SYS ${BOOST_INCLUDE_DIR} -- cgit v1.2.3