From a79ee93ea93fa1a6d5811623dd05635e5ec144e8 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 16 Sep 2021 11:50:13 +0200 Subject: [PATCH] Fix install in default cmake build Disabling the build of any artefacts (examples, tests) that depend on the SixtyFPS target somehow prevents generated_headers_target from being run. The plan is to get rid of that target and run cbindgen in build.rs of the cpp crate, but meanwhile re-enable the examples build by default. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 25fc00c8d..b8c4d3fd3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ include(CTest) add_subdirectory(api/sixtyfps-cpp/) -option(SIXTYFPS_BUILD_EXAMPLES "Build SixtyFPS Examples" OFF) +option(SIXTYFPS_BUILD_EXAMPLES "Build SixtyFPS Examples" ON) add_feature_info(SIXTYFPS_BUILD_EXAMPLES SIXTYFPS_BUILD_EXAMPLES "configure whether to build the examples") if(SIXTYFPS_BUILD_EXAMPLES)