Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
linphone-cmake-builder
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
linphone-cmake-builder
Commits
ba716f5e
Commit
ba716f5e
authored
Oct 06, 2015
by
jehan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compute min target based on host version of MACOSX instead of version of available SDK
parent
a092a90b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
config-desktop.cmake
configs/config-desktop.cmake
+5
-0
No files found.
configs/config-desktop.cmake
View file @
ba716f5e
...
...
@@ -51,6 +51,11 @@ set(DEFAULT_VALUE_CMAKE_LINKING_TYPE "-DENABLE_STATIC=NO")
# Global configuration
set
(
LINPHONE_BUILDER_HOST
""
)
if
(
APPLE
)
#if (NOT CMAKE_OSX_DEPLOYMENT_TARGET) #is it still usefull ?
#without instruction chose to target current machine
# execute_process(COMMAND sw_vers -productVersion COMMAND awk -F \\. "{printf \"%i.%i\",$1,$2}" RESULT_VARIABLE xcrun_sdk_version OUTPUT_VARIABLE CMAKE_OSX_DEPLOYMENT_TARGET OUTPUT_STRIP_TRAILING_WHITESPACE)
#endif()
if
(
CMAKE_SIZEOF_VOID_P EQUAL 8
)
set
(
CMAKE_OSX_ARCHITECTURES
"x86_64"
)
set
(
LINPHONE_BUILDER_HOST
"x86_64-apple-darwin"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment