From 6caa94b7794c40fbcc33c4ea4b36dd716028ca0f Mon Sep 17 00:00:00 2001 From: Huge Rocker Date: Thu, 30 Nov 2017 06:49:03 -0800 Subject: [PATCH] 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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c892a10..fcd35eee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)