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.
This commit is contained in:
Simon Hausmann 2021-09-16 11:50:13 +02:00
parent 26ed010146
commit a79ee93ea9

View file

@ -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)