LOKINET_VERSION -> built in lokinet_VERSION

stable
Jason Rhinelander 2021-09-02 19:11:41 -03:00
parent 38335f13a2
commit 92c7fb9872
4 changed files with 4 additions and 6 deletions

View File

@ -41,8 +41,6 @@ if(RELEASE_MOTTO AND CMAKE_BUILD_TYPE MATCHES "[Rr][Ee][Ll][Ee][Aa][Ss][Ee]")
add_definitions(-DLLARP_RELEASE_MOTTO="${RELEASE_MOTTO}")
endif()
set(LOKINET_VERSION "${lokinet_VERSION_MAJOR}.${lokinet_VERSION_MINOR}.${lokinet_VERSION_PATCH}")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
# Core options

View File

@ -17,8 +17,8 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>@LOKINET_VERSION@</string>
<string>@lokinet_VERSION@</string>
<key>CFBundleVersion</key>
<string>@LOKINET_VERSION@.@LOKINET_APPLE_BUILD@</string>
<string>@lokinet_VERSION@.@LOKINET_APPLE_BUILD@</string>
</dict>
</plist>

View File

@ -21,7 +21,7 @@
<string>lokinet</string>
<key>CFBundleVersion</key>
<string>@LOKINET_VERSION@</string>
<string>@lokinet_VERSION@</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>

View File

@ -98,7 +98,7 @@ if(APPLE)
MACOSX_BUNDLE TRUE
MACOSX_BUNDLE_INFO_STRING "Lokinet IP Packet Onion Router"
MACOSX_BUNDLE_BUNDLE_NAME "Lokinet"
MACOSX_BUNDLE_BUNDLE_VERSION "${LOKINET_VERSION}"
MACOSX_BUNDLE_BUNDLE_VERSION "${lokinet_VERSION}"
MACOSX_BUNDLE_LONG_VERSION_STRING "${lokinet_VERSION}"
MACOSX_BUNDLE_SHORT_VERSION_STRING "${lokinet_VERSION_MAJOR}.${lokinet_VERSION_MINOR}"
MACOSX_BUNDLE_GUI_IDENTIFIER "com.loki-project.lokinet"