cmake_minimum_required(VERSION 3.31) project(ProjectName) include(FeatureSummary) # Use environment set by nix-shell to find wgpu include and library find_path(WGPU_INCLUDE wgpu) find_library(WGPU_LIBRARY libwgpu_native.so) message(STATUS "wgpu lib: ${WGPU_LIBRARY}") message(STATUS "wgpu include dir: ${WGPU_INCLUDE}") find_package(SDL3 REQUIRED) find_package(SDL3_image REQUIRED) find_package(cglm REQUIRED) feature_summary(WHAT PACKAGES_FOUND)