aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-02 22:39:26 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-12-11 13:47:31 +0100
commit2dd39700b452afadf8993d27b6a81650d2bb628b (patch)
treed419070bba251b614166984cd70883429ce03631 /linux
parent7797c8fb5fa69068dd659c369bc774ca74f592fe (diff)
downloadlibnitrokey-2dd39700b452afadf8993d27b6a81650d2bb628b.tar.gz
libnitrokey-2dd39700b452afadf8993d27b6a81650d2bb628b.tar.bz2
Modernise CMake
* Make indentation uniform * Find libhid via pkg-config on Unix * Use `BUILD_SHARED_LIBS`, which is the idiomatic way to switch between static and shared libraries in CMake. https://cmake.org/cmake/help/v3.0/variable/BUILD_SHARED_LIBS.html * Remove Clang option. To use Clang, pass `CXX=clang++` as an environmental parameter to the CMake call. * Do not enable `-Werror` by default. This just causes unnecessary issues with new compiler releases. https://blog.flameeyes.eu/2009/02/future-proof-your-code-dont-use-werror/
Diffstat (limited to 'linux')
0 files changed, 0 insertions, 0 deletions