cmake_minimum_required(VERSION 3.14) project(WoodCamUtils LANGUAGES CXX) option(WOODCAM_BUILD_CLOUDVIEW3D "Build the Qt/OpenGL CloudView3D utility" ON) # VrCommon is a header-oriented compatibility module. Keep it as an interface # target so consumers get the canonical VZNL_Types.h include path. add_library(VrCommon INTERFACE) target_include_directories(VrCommon INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/VrCommon/Inc ) if(WOODCAM_BUILD_CLOUDVIEW3D) add_subdirectory(CloudView3D) endif()