X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=CMakeLists.txt;h=7cd2afc188f77e8e268f633876c66f46f1a9f500;hb=b722c14d5e7cf18d5da885efa00051f585c3bf51;hp=d45b9a530d93ffdb73fa624554174a879f8d3d59;hpb=bec0ee0bbc5f56d92dfe6d9fffd689ff4dd4f929;p=freeglut diff --git a/CMakeLists.txt b/CMakeLists.txt index d45b9a5..7cd2afc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,8 @@ set(VERSION_MAJOR 3) set(VERSION_MINOR 0) set(VERSION_PATCH 0) +# Update fg_version.h to match the versions number here in cmake +CONFIGURE_FILE(src/fg_version.h.in src/fg_version.h) # FREEGLUT_BUILD_SHARED_LIBS is already a standard CMake variable, but we need to # re-declare it here so it will show up in the GUI.