mirror of
https://github.com/microsoft/UVAtlas
synced 2024-11-08 21:30:05 +00:00
26 lines
594 B
CMake
26 lines
594 B
CMake
@PACKAGE_INIT@
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake)
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
set(UVATLAS_USE_OPENMP @UVATLAS_USE_OPENMP@)
|
|
if(UVATLAS_USE_OPENMP)
|
|
find_dependency(OpenMP)
|
|
endif()
|
|
|
|
set(ENABLE_USE_EIGEN @ENABLE_USE_EIGEN@)
|
|
if (ENABLE_USE_EIGEN)
|
|
find_dependency(Eigen3)
|
|
find_dependency(spectra)
|
|
endif()
|
|
|
|
if(MINGW OR (NOT WIN32))
|
|
find_dependency(directx-headers)
|
|
find_dependency(directxmath)
|
|
else()
|
|
find_package(directx-headers CONFIG QUIET)
|
|
find_package(directxmath CONFIG QUIET)
|
|
endif()
|
|
|
|
check_required_components("@PROJECT_NAME@")
|