Fixes for CMake.
[blender.git] / source / blender / blenlib / CMakeLists.txt
index 4812cad033df664fd3a7380526f097c34b32eaa3..ac2f3235646f82df790ffdb9e3ae674e7e1faed7 100644 (file)
@@ -36,6 +36,13 @@ SET(INC
   ${ZLIB_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})
 IF(WITH_VERSE)
   ADD_DEFINITIONS(-DWITH_VERSE)
   SET(INC ${INC} ${VERSE_INC})