patch from Sergey Sharybin (nazgul), use buildinfod for the player.
[blender.git] / source / blenderplayer / bad_level_call_stubs / CMakeLists.txt
index 0c62c6c9cfb996c63c1596b23146910c696af764..a172ff71c118b80cf21dcc29f3e26fb09a6e412c 100644 (file)
 
 FILE(GLOB SRC stubs.c)
 
+IF(WITH_BUILDINFO)
+       ADD_DEFINITIONS(-DBUILD_DATE)
+       FILE(GLOB SRC ${SRC} ../../creator/buildinfo.c)
+ENDIF(WITH_BUILDINFO)
+
 SET(INC 
        .
        ..