lottie: treat undefined symbol as error while building library and enable assembly... 10/185510/1
authorsubhransu mohanty <sub.mohanty@samsung.com>
Tue, 31 Jul 2018 08:01:05 +0000 (17:01 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Tue, 31 Jul 2018 08:03:11 +0000 (17:03 +0900)
Change-Id: I034d8bb84e61ecc56da6a66c18e620e8611dcb0b

CMakeLists.txt

index 453da55..f8b6318 100644 (file)
@@ -1,7 +1,7 @@
 cmake_minimum_required( VERSION 3.2 )
 
 #declare project
-project( lottie-player VERSION 0.0.1 LANGUAGES C CXX )
+project( lottie-player VERSION 0.0.1 LANGUAGES C CXX ASM)
 
 #declare target
 add_library( lottie-player SHARED  "" )
@@ -35,6 +35,11 @@ target_link_libraries(lottie-player
                         "${CMAKE_THREAD_LIBS_INIT}"
                      )
 
+target_link_libraries(lottie-player
+                    PUBLIC
+                         "-Wl,--no-undefined"
+                      )
+
 #declare source and include files
 add_subdirectory(inc)
 add_subdirectory(src)