aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-08-28 03:28:55 -0700
committerChris Robinson <[email protected]>2022-08-28 03:28:55 -0700
commit6e94db24015ca9aa7a76e7c3340143e4c3a66806 (patch)
tree20550b175b4e3f50c3bb9ea1cc6dc40b29e08c44 /CMakeLists.txt
parent0891f1342d3d4741ca38f3c1e7437aeb7e0c0d01 (diff)
Fix OSX framework versions
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8ed55f4a..0b5051c4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1367,7 +1367,7 @@ else()
# Sets framework name to soft_oal to avoid ambiguity with the system OpenAL.framework
set(LIBNAME "soft_oal")
if(GIT_FOUND)
- EXECUTE_PROCESS(COMMAND ${GIT_EXECUTABLE} rev-list --count head
+ EXECUTE_PROCESS(COMMAND ${GIT_EXECUTABLE} rev-list --count HEAD
TIMEOUT 5
OUTPUT_VARIABLE BUNDLE_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE)
@@ -1388,7 +1388,7 @@ else()
FRAMEWORK_VERSION C
MACOSX_FRAMEWORK_NAME "${IMPL_TARGET}"
MACOSX_FRAMEWORK_IDENTIFIER "org.openal-soft.openal"
- MACOSX_FRAMEWORK_SHORT_VERSION_STRING ${LIB_VERSION}
+ MACOSX_FRAMEWORK_SHORT_VERSION_STRING "${LIB_VERSION}"
MACOSX_FRAMEWORK_BUNDLE_VERSION ${BUNDLE_VERSION}
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY ""
XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED "NO"