mirror of
https://github.com/jhasse/poly2tri.git
synced 2024-11-16 18:52:25 +01:00
9 lines
265 B
CMake
9 lines
265 B
CMake
|
cmake_minimum_required(VERSION 3.6)
|
||
|
|
||
|
project(poly2tri LANGUAGES CXX)
|
||
|
set(CMAKE_CXX_STANDARD 14)
|
||
|
|
||
|
file(GLOB SOURCES poly2tri/common/*.cc poly2tri/sweep/*.cc)
|
||
|
add_library(poly2tri ${SOURCES})
|
||
|
target_include_directories(poly2tri INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|