Skip to content

Commit

Permalink
update tdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppeM99 committed Mar 7, 2024
1 parent 4ab86af commit 9db1f43
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
[submodule "base64"]
path = base64
url = https://github.com/ReneNyffenegger/cpp-base64
[submodule "td"]
path = td
url = https://github.com/tdlib/td
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project (tdlua)
cmake_minimum_required (VERSION 3.1)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
find_package(Td REQUIRED)
add_subdirectory(td)
if(NOT LUA_INCLUDE_DIR)
find_package(Lua REQUIRED)
endif()
Expand Down
9 changes: 1 addition & 8 deletions compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,7 @@ if [ -n "$TDLUA_CALLS" ]; then
sudo make install
cd ..
fi
git clone https://github.com/tdlib/td
cd td
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j6 VERBOSE=1
sudo make install
cd ../../

mkdir build
if [ -n "$TDLUA_CALLS" ]; then
git submodule init
Expand Down
1 change: 1 addition & 0 deletions td
Submodule td added at fe6201

0 comments on commit 9db1f43

Please sign in to comment.