#!/usr/bin/env bash mkdir cmake-consumer cd cmake-consumer cat < CMakeLists.txt cmake_minimum_required(VERSION 3.18) project(testing LANGUAGES CXX) find_package(manifold "2.5.1" REQUIRED) add_executable(testing test.cpp) target_link_libraries(testing PRIVATE manifold::manifold) EOT cat < test.cpp #include #include int main() { manifold::Manifold foo; return 0; } EOT mkdir build cd build cmake .. make ./testing