The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

cmake: Allow overriding package version

authored by

Ryan Pavlik and committed by
Jakob Bornecrantz
86a708ce 1a556740

+4 -2
+4 -2
CMakeLists.txt
··· 27 27 include(CMakeDependentOption) 28 28 include(SPIR-V) 29 29 include(GNUInstallDirs) 30 - include(GetGitRevisionDescription) 31 - git_describe(GIT_DESC "--always") 30 + if(NOT GIT_DESC) 31 + include(GetGitRevisionDescription) 32 + git_describe(GIT_DESC "--always") 33 + endif() 32 34 if(NOT ${CMAKE_VERSION} VERSION_LESS 3.9) 33 35 include(CheckIPOSupported) 34 36 check_ipo_supported(RESULT HAS_IPO)