Merge branch 'memory' of windoz/tdlib-fork into fork
This commit is contained in:
commit
71fda09dcd
@ -17,6 +17,8 @@ target_include_directories(tdsqlite PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOU
|
|||||||
target_include_directories(tdsqlite SYSTEM PRIVATE ${OPENSSL_INCLUDE_DIR})
|
target_include_directories(tdsqlite SYSTEM PRIVATE ${OPENSSL_INCLUDE_DIR})
|
||||||
target_link_libraries(tdsqlite PRIVATE ${OPENSSL_CRYPTO_LIBRARY} ${CMAKE_DL_LIBS} ${ZLIB_LIBRARIES})
|
target_link_libraries(tdsqlite PRIVATE ${OPENSSL_CRYPTO_LIBRARY} ${CMAKE_DL_LIBS} ${ZLIB_LIBRARIES})
|
||||||
|
|
||||||
|
target_compile_definitions(tdsqlite PRIVATE -DSQLITE_MAX_MMAP_SIZE=268427264 -DSQLITE_ENABLE_SORTER_REFERENCES -DSQLITE_DIRECT_OVERFLOW_READ)
|
||||||
|
|
||||||
if (NOT WIN32)
|
if (NOT WIN32)
|
||||||
target_compile_definitions(tdsqlite PRIVATE -DHAVE_USLEEP -DNDEBUG=1)
|
target_compile_definitions(tdsqlite PRIVATE -DHAVE_USLEEP -DNDEBUG=1)
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user