Fixes for CMake.
[blender.git] / source / blender / blenlib / CMakeLists.txt
index 783af015b47db4f8c02bc984b19416c108959946..ac2f3235646f82df790ffdb9e3ae674e7e1faed7 100644 (file)
@@ -36,13 +36,20 @@ SET(INC
   ${ZLIB_INC}
 )
 
+IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
+SET(INC
+  ${INC}
+  ${BINRELOC_INC}
+)
+ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux")
+
 IF(WITH_VERSE)
   ADD_DEFINITIONS(-DWITH_VERSE)
   SET(INC ${INC} ${VERSE_INC})
 ENDIF(WITH_VERSE)
 
 IF(WITH_INTERNATIONAL)
-  ADD_DEFINITIONS(-DWITH_FREETYPE)
+  ADD_DEFINITIONS(-DWITH_FREETYPE2)
 ENDIF(WITH_INTERNATIONAL)
 
 IF(WIN32)