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