diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-22 20:54:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-22 20:54:26 +0400 |
commit | 7d316b70b842ff376d07f5ba55302d31d92e6dbb (patch) | |
tree | ebaa36789ba760be6caec274b582341f6702409c /source/creator | |
parent | 817273931a42f807809a9d0f000564e2bd38dfb8 (diff) |
rename NAN_BUILDINFO --> WITH_BUILDINFO
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/CMakeLists.txt | 1 | ||||
-rw-r--r-- | source/creator/creator.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 129ddca8c38..c4a5222a719 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -133,6 +133,7 @@ if(WIN32 AND NOT UNIX) endif() if(WITH_BUILDINFO) + add_definitions(-DWITH_BUILDINFO) # -------------------------------------------------------------------------- # These defines could all be moved into the header below string(REPLACE " " "\ " BUILDINFO_CFLAGS "${CMAKE_C_FLAGS}") diff --git a/source/creator/creator.c b/source/creator/creator.c index 6aa1773be5a..9b2cfb08382 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -355,9 +355,9 @@ static int debug_mode(int UNUSED(argc), const char **UNUSED(argv), void *data) printf(BLEND_VERSION_STRING_FMT); MEM_set_memory_debug(); -#ifdef NAN_BUILDINFO +#ifdef WITH_BUILDINFO printf("Build: %s %s %s %s\n", build_date, build_time, build_platform, build_type); -#endif // NAN_BUILDINFO +#endif // WITH_BUILDINFO BLI_argsPrint(data); return 0; |