From 904a268872416dc9b9f26c83fd0b1bd8b715c511 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Tue, 7 Sep 2021 02:08:54 -0600 Subject: Meta: Move all options to targetname_options.cmake files This common strategy of having a serenity_option() macro defined in either the Lagom or top level CMakeLists.txt allows us to do two things: First, we can more clearly see which options are Serenity-specific, Lagom-specific, or common between the target and host builds. Second, it enables the upcoming SuperBuild changes to set() the options in the SuperBuild's CMake cache and forward each target's options to the corresponding ExternalProject. --- Meta/CMake/wasm_spec_tests.cmake | 2 -- 1 file changed, 2 deletions(-) (limited to 'Meta/CMake/wasm_spec_tests.cmake') diff --git a/Meta/CMake/wasm_spec_tests.cmake b/Meta/CMake/wasm_spec_tests.cmake index bc3152836c..864d2bca1f 100644 --- a/Meta/CMake/wasm_spec_tests.cmake +++ b/Meta/CMake/wasm_spec_tests.cmake @@ -1,5 +1,3 @@ -option(INCLUDE_WASM_SPEC_TESTS "Download and include the WebAssembly spec testsuite" OFF) - if(INCLUDE_WASM_SPEC_TESTS) if (CMAKE_PROJECT_NAME STREQUAL "SerenityOS") set(SOURCE_DIR "${SerenityOS_SOURCE_DIR}") -- cgit v1.2.3