cmake: Set build type before project()
@@ -32,12 +32,11 @@ if(HUNTER_ENABLED)
endif()
cable_configure_toolchain(DEFAULT cxx11-pic)
+cable_set_build_type(DEFAULT Release CONFIGURATION_TYPES Debug Release)
project(evmc)
set(PROJECT_VERSION 6.3.0-dev)
-cable_set_build_type(DEFAULT Release CONFIGURATION_TYPES Debug Release)
-
cable_configure_compiler(NO_STACK_PROTECTION)
set(include_dir ${PROJECT_SOURCE_DIR}/include)
