Build using systemwide cmake.

From: Vitaly Zaitsev <vitaly@easycoding.org>
Date: Mon, 3 Oct 2016 16:10:25 +0200
Source: RussianFedora/telegram-desktop
This commit is contained in:
Berkus Decker 2017-02-10 18:17:56 +02:00
parent 7a5d115e2b
commit 60a45e6cfe
1 changed files with 2 additions and 2 deletions

View File

@ -19,9 +19,9 @@ cd $FullScriptPath
if [ "$MySystem" == "Linux" ]; then if [ "$MySystem" == "Linux" ]; then
../../../Libraries/gyp/gyp --depth=. --generator-output=.. -Goutput_dir=../out -Dofficial_build_target=$BuildTarget Telegram.gyp --format=cmake ../../../Libraries/gyp/gyp --depth=. --generator-output=.. -Goutput_dir=../out -Dofficial_build_target=$BuildTarget Telegram.gyp --format=cmake
cd ../../out/Debug cd ../../out/Debug
../../../Libraries/cmake-3.6.2/bin/cmake . cmake .
cd ../Release cd ../Release
../../../Libraries/cmake-3.6.2/bin/cmake . cmake .
cd ../../Telegram/gyp cd ../../Telegram/gyp
else else
#gyp --depth=. --generator-output=../.. -Goutput_dir=out Telegram.gyp --format=ninja #gyp --depth=. --generator-output=../.. -Goutput_dir=out Telegram.gyp --format=ninja