Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
18a805e4
Commit
18a805e4
authored
Oct 18, 2010
by
Jesse Beder
Browse files
Updated CMake iPhone settings
parent
a19336fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
CMakeLists.txt
CMakeLists.txt
+6
-1
No files found.
CMakeLists.txt
View file @
18a805e4
...
@@ -5,7 +5,8 @@ project (YAML_CPP)
...
@@ -5,7 +5,8 @@ project (YAML_CPP)
set
(
LIB_TYPE SHARED
)
set
(
LIB_TYPE SHARED
)
if
(
IPHONE
)
if
(
IPHONE
)
set
(
CMAKE_OSX_SYSROOT iphoneos2.2.1
)
set
(
CMAKE_OSX_SYSROOT iphoneos4.0
)
set
(
CMAKE_OSX_ARCHITECTURES $
(
ARCHS_STANDARD_32_BIT
))
set
(
LIB_TYPE
)
set
(
LIB_TYPE
)
endif
(
IPHONE
)
endif
(
IPHONE
)
...
@@ -59,6 +60,10 @@ set_target_properties(yaml-cpp PROPERTIES
...
@@ -59,6 +60,10 @@ set_target_properties(yaml-cpp PROPERTIES
SOVERSION
"
${
YAML_CPP_VERSION_MAJOR
}
.
${
YAML_CPP_VERSION_MINOR
}
"
SOVERSION
"
${
YAML_CPP_VERSION_MAJOR
}
.
${
YAML_CPP_VERSION_MINOR
}
"
)
)
if
(
IPHONE
)
set_target_properties
(
yaml-cpp PROPERTIES XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET
"3.0"
)
endif
(
IPHONE
)
install
(
TARGETS yaml-cpp
${
_INSTALL_DESTINATIONS
}
)
install
(
TARGETS yaml-cpp
${
_INSTALL_DESTINATIONS
}
)
install
(
install
(
FILES
${
public_headers
}
FILES
${
public_headers
}
...
...
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