Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Telatynski
Olm
Commits
34998b52
Commit
34998b52
authored
Nov 03, 2016
by
manuroe
Browse files
OLMKit: Attempt to make podspec work when the pod is downloaded from git
parent
a9be04fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
OLMKit.podspec
View file @
34998b52
...
...
@@ -38,8 +38,11 @@ Pod::Spec.new do |s|
# Use the same compiler options for C and C++ as olm/Makefile
s
.
compiler_flags
=
"-g -O3 -DOLMLIB_VERSION_MAJOR=
#{
MAJOR
}
-DOLMLIB_VERSION_MINOR=
#{
MINOR
}
-DOLMLIB_VERSION_PATCH=
#{
PATCH
}
"
# For headers search paths, manage first the normal installation. Then, use paths used
# when the pod is local
s
.
xcconfig
=
{
'USER_HEADER_SEARCH_PATHS'
=>
"
#{
File
.
join
(
File
.
dirname
(
__FILE__
),
'include'
)
}
#{
File
.
join
(
File
.
dirname
(
__FILE__
),
'lib'
)
}
"
'USER_HEADER_SEARCH_PATHS'
=>
"
${PODS_ROOT}/OLMKit/include ${PODS_ROOT}/OLMKit/lib
#{
File
.
join
(
File
.
dirname
(
__FILE__
),
'include'
)
}
#{
File
.
join
(
File
.
dirname
(
__FILE__
),
'lib'
)
}
"
}
s
.
subspec
'olmc'
do
|
olmc
|
...
...
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