kicad-source/thirdparty/ttl/CMakeLists.txt
Ian McInerney 13b6028e1b Refactor all math into a new kimath library
* Split up the thirdparty code into the thirdparty folder (#3637)
* Create a new kimath static library containing all the math functions

This is part of cleaning the build system for #1906.
2020-01-07 17:12:59 +00:00

21 lines
341 B
CMake

set( TTL_SRCS
src/halfedge/hetriang.cpp
)
add_library( ttl STATIC
${TTL_SRCS}
)
target_include_directories( ttl
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
)
# It needs VECTOR2D from the math library
# Luckily that is header-only
target_include_directories( ttl
PRIVATE
${PROJECT_SOURCE_DIR}/libs/kimath/include
)