Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
djinni
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
djinni
Commits
568b08b0
Commit
568b08b0
authored
Mar 31, 2017
by
Bruno Coelho
Committed by
GitHub
Mar 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply target_compile_options to all targets
parent
cfd02731
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
support-lib/CMakeLists.txt
support-lib/CMakeLists.txt
+2
-4
No files found.
support-lib/CMakeLists.txt
View file @
568b08b0
...
@@ -62,12 +62,10 @@ if(DJINNI_WITH_JNI)
...
@@ -62,12 +62,10 @@ if(DJINNI_WITH_JNI)
find_package
(
JNI REQUIRED QUIET
)
find_package
(
JNI REQUIRED QUIET
)
target_include_directories
(
djinni PUBLIC
"
${
JNI_INCLUDE_DIRS
}
"
)
target_include_directories
(
djinni PUBLIC
"
${
JNI_INCLUDE_DIRS
}
"
)
endif
()
endif
()
# Exceptions and RTTI are disabled in the NDK by default
if
(
ANDROID
)
target_compile_options
(
djinni PRIVATE
"-fexceptions"
"-frtti"
)
endif
()
endif
()
endif
()
target_compile_options
(
djinni PRIVATE
"-fexceptions"
"-frtti"
)
if
(
NOT
(
DJINNI_WITH_OBJC OR DJINNI_WITH_JNI
))
if
(
NOT
(
DJINNI_WITH_OBJC OR DJINNI_WITH_JNI
))
message
(
FATAL_ERROR
"At least one of DJINNI_WITH_OBJC or DJINNI_WITH_JNI must be enabled."
)
message
(
FATAL_ERROR
"At least one of DJINNI_WITH_OBJC or DJINNI_WITH_JNI must be enabled."
)
endif
()
endif
()
...
...
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