mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
* 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.
21 lines
341 B
CMake
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
|
|
)
|