File tree Expand file tree Collapse file tree 4 files changed +18
-0
lines changed
Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,12 @@ ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
1111OPTION (ENABLE_THREADS "Enable threads" OFF )
1212
1313IF (${ENABLE_THREADS} )
14+ set (UNQLITE_ENABLE_THREADS ON )
1415 ADD_DEFINITIONS ("-DUNQLITE_ENABLE_THREADS" )
1516ENDIF (${ENABLE_THREADS} )
1617
18+ configure_file (./src/config.h.in ./src/config.h)
19+
1720INCLUDE_DIRECTORIES (${CMAKE_CURRENT_LIST_DIR} /src)
1821
1922SET (HEADERS_UNQLITE
Original file line number Diff line number Diff line change 1+ #ifndef _UNQLITE_CONFIG_H_
2+ #define _UNQLITE_CONFIG_H_
3+
4+ /* #undef UNQLITE_ENABLE_THREADS */
5+
6+ #endif
Original file line number Diff line number Diff line change 1+ #ifndef _UNQLITE_CONFIG_H_
2+ #define _UNQLITE_CONFIG_H_
3+
4+ #cmakedefine UNQLITE_ENABLE_THREADS
5+
6+ #endif
Original file line number Diff line number Diff line change 11/* This file was automatically generated. Do not edit (Except for compile time directives)! */
22#ifndef _UNQLITE_H_
33#define _UNQLITE_H_
4+
5+ #include "./config.h"
6+
47/*
58 * Symisc UnQLite: An Embeddable NoSQL (Post Modern) Database Engine.
69 * Copyright (C) 2012-2013, Symisc Systems http://unqlite.org/
You can’t perform that action at this time.
0 commit comments