diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-02-04 17:32:36 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-02-06 20:22:33 +0000 |
commit | dcd439a5c3d80cd89c493a900c78e2a398f65248 (patch) | |
tree | 5069a26e19b929aa441397727be154cc3af70e22 /cmake | |
parent | 835b9fbdc933878a744cd6ba1c77942610f4fe06 (diff) |
Make cmake script more forgiving.
Instead of hard-erroring when we don't find dependencies, we just don't
build the things requested and print a warning. This is less annoying to
users because we enable a bunch of things by default. This way, we can at
least build something with the default "cmake" invocation.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Dependencies.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake index be21bbf8..572b77b0 100644 --- a/cmake/Dependencies.cmake +++ b/cmake/Dependencies.cmake | |||
@@ -42,7 +42,7 @@ pkg_use_module(SNDFILE sndfile ) | |||
42 | # | 42 | # |
43 | ############################################################################### | 43 | ############################################################################### |
44 | 44 | ||
45 | if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") | 45 | if(MSVC) |
46 | # libsodium | 46 | # libsodium |
47 | # --------- | 47 | # --------- |
48 | find_library(LIBSODIUM_LIBRARIES | 48 | find_library(LIBSODIUM_LIBRARIES |