From a5d7db207786dbabb9a16df2b64ab23511cecb2e Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 19 Sep 2020 12:03:41 +0200 Subject: [PATCH] Remove unused LEVEL_SIZE defines for now. Signed-off-by: Deukhoofd --- CMakeLists.txt | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index de675be..7198eb0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ option(WINDOWS "Whether the build target is Windows or not." OFF) option(SHARED "Whether we should build a shared library, instead of a static one." OFF) option(TESTS "Whether the test executable should be build as well." OFF) option(STATICC "Whether gcc and stdc++ should be linked statically to the library." OFF) -set(LEVEL_SIZE "8" CACHE STRING "Number of bits to store the level as. Can be 8, 16, 32, or 64") +set(LEVEL_SIZE "8" CACHE STRING "Number of bits to store the level as. Currently reserved, and can only be 8") if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") add_compile_options(-fconcepts) @@ -36,15 +36,6 @@ endif (SHARED) if (LEVEL_SIZE STREQUAL "8") add_definitions(-DLEVEL_U8) message(STATUS "Using level size of 8") -elseif (LEVEL_SIZE STREQUAL "16") - add_definitions(-DLEVEL_U16) - message(STATUS "Using level size of 16") -elseif (LEVEL_SIZE STREQUAL "32") - add_definitions(-DLEVEL_U32) - message(STATUS "Using level size of 32") -elseif (LEVEL_SIZE STREQUAL "64") - add_definitions(-DLEVEL_U64) - message(STATUS "Using level size of 64") else () message(FATAL_ERROR, "Invalid level size was given.") endif ()