From 591c44b9a1a6e0a803b6d8af9e35aa8552b421c0 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Sat, 15 Jun 2019 15:21:32 +0800 Subject: DevIL support --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 44cd5b6..6b54346 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,8 @@ cmake_minimum_required(VERSION 3.11) option (BUILD_DUMB "Disable sound support" OFF) option (BUILD_EXTENSIONS "Build extensions" ON) +option (USE_CXIMAGE "Use CxImage instead of DevIL" OFF) +option (BUILD_EXAMPLE "Build example" ON) add_subdirectory(smelt/glfw) @@ -11,3 +13,6 @@ if (BUILD_EXTENSIONS) add_subdirectory(extensions) endif () +if (BUILD_EXAMPLE) + add_subdirectory(examples) +endif () -- cgit v1.2.3