vcpkg/ports/v-hacd/CMakeLists.txt
David Katz cb0e14cadf
[v-hacd] Add new port (#11606)
* Add v-hacd

* [v-hacd] Fix portfile features

* [v-hacd] Only support static linkage

* [v-hacd] Fix patchfile

* [v-hacd] Remove ARM as a supported platform

* [v-hacd] Update ports/v-hacd/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-06-11 01:48:31 -07:00

19 lines
523 B
CMake

cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)
project(VHACD)
# Determine if VHACD is built as a subproject (using add_subdirectory)
# or if it is the master project.
set(MASTER_PROJECT OFF)
if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
set(MASTER_PROJECT ON)
message(STATUS "CMake version: ${CMAKE_VERSION}")
endif ()
option(NO_OPENCL "NO_OPENCL" OFF)
option(NO_OPENMP "NO_OPENMP" OFF)
message("NO_OPENCL " ${NO_OPENCL})
message("NO_OPENMP " ${NO_OPENMP})
add_subdirectory(src)