cmake_minimum_required(VERSION 3.9) option(WITH_HDF5 "Build with HDF5" OFF) if(WITH_HDF5) list(APPEND VCPKG_MANIFEST_FEATURES "hdf5") endif() option(WITH_MATLAB "Build Matlab wrappers" OFF) if(WITH_MATLAB) list(APPEND VCPKG_MANIFEST_FEATURES "matlab") endif() option(WITH_PYTHON "Build Python module" OFF) if(WITH_PYTHON) list(APPEND VCPKG_MANIFEST_FEATURES "python") endif() option(BUILD_TESTING "Build the testing tree." ON) if(BUILD_TESTING) list(APPEND VCPKG_MANIFEST_FEATURES "tests") endif() project(...) include(CTest) enable_testing() ...