1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-08-04 07:01:46 +02:00

Allow API selection as a cmake option.

This commit is contained in:
Sandu Liviu Catalin
2020-05-01 20:41:00 +03:00
parent 4a53ec8676
commit f2be86a65e
3 changed files with 6 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
option(BUILTIN_RUNTIMES "Include the MinGW runtime into the binary itself." ON)
option(FORCE_32BIT_BIN "Create a 32-bit executable binary if the compiler defaults to 64-bit." OFF)
option(ENABLE_MYSQL "Enable the MySQL library." OFF)
option(ENABLE_API21 "Build for 2.1 API." OFF)
# Default to c++14 standard
if(CMAKE_VERSION VERSION_LESS "3.1")