Fix can not find source files in CMakeLists.txt
Summary: Because the source files are *.cpp, not *.c. This fixes building issue with gradle. Closes https://github.com/facebook/yoga/pull/676 Reviewed By: emilsjolander Differential Revision: D6446545 Pulled By: priteshrnandgaonkar fbshipit-source-id: 809229057db26665b2d97b3002ade73632dd9117
This commit is contained in:
committed by
Facebook Github Bot
parent
429a7eeee3
commit
6caa94b779
@@ -11,7 +11,7 @@ cmake_minimum_required(VERSION 3.4.1)
|
||||
|
||||
set(CMAKE_VERBOSE_MAKEFILE on)
|
||||
|
||||
file(GLOB yogacore_SRC yoga/*.c)
|
||||
file(GLOB yogacore_SRC yoga/*.cpp)
|
||||
add_library(yogacore STATIC ${yogacore_SRC})
|
||||
|
||||
target_link_libraries(yogacore android log)
|
||||
|
Reference in New Issue
Block a user