Merged changes in the trunk up to revision 35203.
[blender.git] / source / blender / blenlib / CMakeLists.txt
index 4006b8795268c16d406f13aa259402dfaea35160..d78fbdf393e8447bfaf74e6784c0ac6228f62a42 100644 (file)
@@ -28,6 +28,7 @@ set(INC
        .
        ../makesdna
        ../blenkernel
+       ../blenloader
        ../gpu
        ../../../intern/ghost
        ../../../intern/guardedalloc
@@ -133,7 +134,8 @@ set(SRC
        intern/dynamiclist.h
 )
 
-if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+if(WITH_BINRELOC)
+       add_definitions(-DWITH_BINRELOC)
        list(APPEND INC "${BINRELOC_INC}")
 endif()