diff options
author | Andrei Vasiliu <[email protected]> | 2015-12-18 20:09:25 +0200 |
---|---|---|
committer | Andrei Vasiliu <[email protected]> | 2016-01-12 00:03:19 +0200 |
commit | a97afed4dfbdac2e364f6bd50ad6a86dfe5417c7 (patch) | |
tree | 74e53dbd0dd625739ddcf27305a85ac541ee3714 /CMakeLists.txt | |
parent | e6006161b8a4a2c1221f9fe1fa08569f087a4221 (diff) |
Java: Added Java API
Signed-off-by: Andrei Vasiliu <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 66dcdb67..e8291200 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.1) +cmake_minimum_required (VERSION 3.1.0 FATAL_ERROR) project (tinyb) FIND_PACKAGE (Threads REQUIRED) @@ -56,9 +56,9 @@ IF(WARNINGS) IF(UNIX) IF(CMAKE_COMPILER_IS_GNUCC) ADD_DEFINITIONS(-Wall -Wextra) - ENDIF(CMAKE_COMPILER_IS_GNUCC) - ENDIF(UNIX) - ENDIF(WARNINGS) + ENDIF(CMAKE_COMPILER_IS_GNUCC) + ENDIF(UNIX) +ENDIF(WARNINGS) IF(DEBUG) IF(UNIX) @@ -71,8 +71,7 @@ ENDIF(DEBUG) find_path (SYSTEM_USR_DIR "stdlib.h") include_directories (${SYSTEM_USR_DIR}) -option (BUILDSWIG "Build swig modules." ON) -option (BUILDSWIGJAVA "Build Java API." OFF) +option (BUILDJAVA "Build Java API." OFF) add_subdirectory (src) add_subdirectory (examples) |