CMakeLists.txt 377 Bytes
Newer Older
1
2
cmake_minimum_required(VERSION 2.8.12)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR})
3

4
project(openmesh)
5

6
7
find_package(OpenMesh)
include_directories(${OPENMESH_INCLUDE_DIRS})
8

9
add_subdirectory(pybind11)
Alexander Dielen's avatar
Alexander Dielen committed
10
pybind11_add_module(openmesh src/Bindings.cc src/InputOutput.cc src/Miscellaneous.cc)
11

12
target_link_libraries(openmesh PRIVATE ${OPENMESH_LIBRARIES})