projects
/
platform
/
core
/
uifw
/
lottie-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a25353
)
rlottie/cmake: Fix cmake build issue for Mac
author
sub.mohanty@samsung.com
<smohantty@gmail.com>
Sat, 8 Jun 2019 14:48:23 +0000
(23:48 +0900)
committer
Hermet Park
<hermetpark@gmail.com>
Wed, 19 Jun 2019 04:35:47 +0000
(13:35 +0900)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index baacbb956623a04df6b929ce7e3cb9a791752df5..8284907885f7d27694f66063895df6953647fb72 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-52,10
+52,18
@@
target_link_libraries(rlottie
PRIVATE
${CMAKE_DL_LIBS})
-target_link_libraries(rlottie
- PUBLIC
- "-Wl,--no-undefined"
- )
+if(APPLE)
+ target_link_libraries(rlottie
+ PUBLIC
+ "-Wl, -undefined error"
+ )
+else()
+ target_link_libraries(rlottie
+ PUBLIC
+ "-Wl,--no-undefined"
+ )
+endif()
+
if (NOT LIB_INSTALL_DIR)
set (LIB_INSTALL_DIR "/usr/lib")