Since ethminer is OpenSource you can compile it yourself.
ethminer uses CMake and the Hunter package manager. You can compile it without Hunter if you like, but it will make life a lot easier to use it.
Most dependencies get resolved via Hunter. Some special cases are:
On linux you probably need to install some additional headers. For more information see here
For example on Ubuntu run:
sudo apt-get install mesa-common-dev
On Windows you need Microsoft Visual Studio 2015.
If you want to compile with CUDA Support you need to install the CUDA 8 Headers. You can download them for Windows here.
If you want to install dependencies yourself or use system package manager you can disable Hunter by adding -DHUNTER_ENABLED=OFF to configuration options.
Create a build directory.
mkdir build; cd build
Configure the project with CMake. Check out additional configuration options.
cmake ..
Build the project using CMake Build Tool Mode. This is a portable variant
of make
.
cmake --build .
(Optional, Linux only) Install the built executable.
sudo make install