From 1568c561d0cdebbdd04b5da19febcf3a85b9b619 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 19 Sep 2020 12:22:52 +0200 Subject: [PATCH] Remove unused defines for now. --- CMakeLists.txt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0cd6cfd..bb535bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ option(SHARED "Whether we should build a shared library, instead of a static one 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(SCRIPT_PROVIDER "angelscript" CACHE STRING "Which script provider to use.") -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. Can be 8") if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") add_compile_options(-fconcepts) @@ -36,12 +36,6 @@ message(STATUS "Using: if (LEVEL_SIZE STREQUAL "8") add_definitions(-DLEVEL_U8) -elseif (LEVEL_SIZE STREQUAL "16") - add_definitions(-DLEVEL_U16) -elseif (LEVEL_SIZE STREQUAL "32") - add_definitions(-DLEVEL_U32) -elseif (LEVEL_SIZE STREQUAL "64") - add_definitions(-DLEVEL_U64) else () message(FATAL_ERROR, "Invalid level size was given.") endif ()