mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 09:29:07 +08:00
cb0e14cadf
* 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>
19 lines
523 B
CMake
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) |