X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fcmake_config_githash.h.in;h=66870b0484c4cbfa831613c2740dc148a12d1028;hb=54dccc480eb03adcf219a7add58f547284f40f76;hp=4d5fcd60f375a6c0a8b9fbf25924c955c93f0a8f;hpb=8bc7ea61b901516d3e1cbde77df1830d14129259;p=dragonfireclient.git diff --git a/src/cmake_config_githash.h.in b/src/cmake_config_githash.h.in index 4d5fcd60f..66870b048 100644 --- a/src/cmake_config_githash.h.in +++ b/src/cmake_config_githash.h.in @@ -1,10 +1,6 @@ // Filled in by the build system // Separated from cmake_config.h to avoid excessive rebuilds on every commit -#ifndef CMAKE_CONFIG_GITHASH_H -#define CMAKE_CONFIG_GITHASH_H - -#define CMAKE_VERSION_GITHASH "@VERSION_GITHASH@" - -#endif +#pragma once +#define VERSION_GITHASH "@VERSION_GITHASH@"