mirror of
https://github.com/jhasse/poly2tri.git
synced 2024-11-29 16:53:30 +01:00
ebf0c4d987
That's what README.md has been referencing as the executable name, and it's more meaningful.
16 lines
206 B
CMake
16 lines
206 B
CMake
# Dependencies
|
|
find_package(glfw3 3.3 REQUIRED)
|
|
find_package(OpenGL REQUIRED)
|
|
|
|
# Build testbed
|
|
add_executable(p2t
|
|
main.cc
|
|
)
|
|
|
|
target_link_libraries(p2t
|
|
PRIVATE
|
|
glfw
|
|
OpenGL::GL
|
|
poly2tri
|
|
)
|