aboutsummaryrefslogtreecommitdiff
path: root/devel/RStudio/files/patch-CMakeGlobals.txt
blob: fa4da3d5e0131d68c2758cd282c7817232fed673 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- CMakeGlobals.txt.orig	2020-01-23 23:30:24 UTC
+++ CMakeGlobals.txt
@@ -84,7 +84,7 @@ endif()
 
 # record git revision hash (cache it since we don't use this in development
 # mode and we don't want it to force rebuilds there)
-if(NOT RSTUDIO_SESSION_WIN32 AND NOT RSTUDIO_GIT_REVISION_HASH)
+if(FALSE AND NOT RSTUDIO_SESSION_WIN32 AND NOT RSTUDIO_GIT_REVISION_HASH)
    find_program(GIT_EXECUTABLE git)
    if(GIT_EXECUTABLE)
       execute_process(
@@ -95,6 +95,7 @@ if(NOT RSTUDIO_SESSION_WIN32 AND NOT RSTUDIO_GIT_REVIS
       SET(RSTUDIO_GIT_REVISION_HASH "${RSTUDIO_GIT_REVISION_HASH}" CACHE STRING "Git Revision Hash")
    endif()
 endif()
+SET(RSTUDIO_VERSION "${FREEBSD_RSTUDIO_VERSION}" CACHE STRING "FreeBSD RStudio version")
 
 # record these from Jenkins if available
 if("$ENV{GIT_COMMIT}" STREQUAL "")