diff --git a/Build.md b/Build.md index e56d287..2817c13 100644 --- a/Build.md +++ b/Build.md @@ -5,7 +5,7 @@ git clone https://github.com/xmrig/xmrig.git cd xmrig mkdir build cd build -cmake .. -DCMAKE_BUILD_TYPE=Release +cmake .. -DCMAKE_BUILD_TYPE=Release -DUV_LIBRARY=/usr/lib/x86_64-linux-gnu/libuv.a make ``` ### gcc 7.1 @@ -16,7 +16,7 @@ apt-get install gcc-7 g++-7 ``` When run cmake manually specify C and C++ compiler: ``` -cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/gcc-7 -DCMAKE_CXX_COMPILER=/usr/bin/g++-7 +cmake .. cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7 -DUV_LIBRARY=/usr/lib/x86_64-linux-gnu/libuv.a ``` ## Windows