cflags, cxxflags & linkflags in buildinfo.
[blender-staging.git] / source / creator / CMakeLists.txt
index f2ea4d3dc7589169cc2a685e75bb5a7ae13c9283..65099761fada5cce02db53ca15f3a1edbd1e872d 100644 (file)
@@ -101,6 +101,9 @@ IF(WITH_BUILDINFO)
                -DBUILD_REV="${BUILD_REV}"
                -DBUILD_PLATFORM="${CMAKE_SYSTEM_NAME}"
                -DBUILD_TYPE="${CMAKE_BUILD_TYPE}"
+               -DBUILD_CFLAGS="${CMAKE_C_FLAGS}"
+               -DBUILD_CXXFLAGS="${CMAKE_CXX_FLAGS}"
+               -DBUILD_LINKFLAGS="${PLATFORM_LINKFLAGS}"
        )
 
        LIST(APPEND EXESRC buildinfo.c)