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
18 lines
496 B
CMake
18 lines
496 B
CMake
#
|
|
# Copyright (c) 2014-present, Facebook, Inc.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed under the BSD-style license found in the
|
|
# LICENSE file in the root directory of this source tree. An additional grant
|
|
# of patent rights can be found in the PATENTS file in the same directory.
|
|
#
|
|
|
|
cmake_minimum_required(VERSION 3.4.1)
|
|
|
|
set(CMAKE_VERBOSE_MAKEFILE on)
|
|
|
|
file(GLOB yogacore_SRC yoga/*.cpp)
|
|
add_library(yogacore STATIC ${yogacore_SRC})
|
|
|
|
target_link_libraries(yogacore android log)
|