| `CMAKE_BUILD_TYPE` | `Release` | Set to `Debug` to enable debug output.
| `CMAKE_INSTALL_PREFIX` | `/usr/local` | Where to install innoextract.
| `SET_WARNING_FLAGS` | `ON` | Adjust compiler warning flags. This should not affect the produced binaries but is useful to catch potential problems.
| `SET_OPTIMIZATION_FLAGS` | `ON` | Adjust compiler optimization flags. For non-debug builds the only thing this does is instruct the linker to only link against libraries that are actually needed.
| `USE_CXX11` | `ON` | Try to compile in C++11 mode if available.
| `MAN_DIR` | `share/man` | Install location for man pages (relative to prefix). |
| `USE_STATIC_LIBS` | `OFF` | Turns on static linking for all libraries, including `-static-libgcc` and `-static-libstdc++`. You can also use the individual options below:
| `LZMA_USE_STATIC_LIBS` | `OFF` | Statically link `liblzma`.
| `Boost_USE_STATIC_LIBS` | `OFF` | Statically link Boost. See also `FindBoost.cmake`
@ -57,6 +55,15 @@ Build options:
| `BZip2_USE_STATIC_LIBS` | `OFF` | Statically link `libbz2`. (used via Boost)
| `iconv_USE_STATIC_LIBS` | `OFF` | Statically link `libiconv`.