lokinet/cmake
Jason Rhinelander ebd2142114 Don't use std::optional::value() because f u macos
This replaces all use of std::optional's `opt.value()` with `*opt`
because macOS is great and the ghost of Steve Jobs says that actually
supporting std::optional's value() method is not for chumps before macOS
10.14.  So don't use it because Apple is great.

Pretty much all of our use of it actually is done better with operator*
anyway (since operator* doesn't do a check that the optional has a
value).

Also replaced *most* of the `has_value()` calls with direct bool
context, except for one in the config section which looked really
confusing at a glance without a has_value().
2020-05-20 19:18:28 -03:00
..
DownloadLibCurl.cmake curl: use ccache; disabled lots of other crap 2020-05-17 23:31:41 -03:00
DownloadLibSodium.cmake Build libsodium with ccache and fPIC 2020-05-17 23:31:41 -03:00
FindLibUV.cmake Add FindLibUV and migrate 2019-07-13 14:06:34 +01:00
FindSodium.cmake freebsd fix 2019-12-16 09:02:39 -05:00
GenVersion.cmake fix GenVersion.cmake 2020-05-06 14:26:15 +00:00
MacroEnsureOutOfSourceBuild.cmake Prevent in-source-builds with cmake macro 2019-10-24 13:21:45 -06:00
TargetArch.cmake add forgotten file 2019-11-05 06:52:40 -05:00
Version.cmake operator presidence 2020-03-03 06:54:21 -05:00
add_import_library.cmake Refactor top level cmake file into multiple components 2019-04-30 00:48:48 +01:00
add_log_tag.cmake cmake refactor 2020-05-17 23:31:23 -03:00
check_for_std_filesystem.cmake Bring back ghc::filesystem for broke AF macos 2020-05-20 19:18:27 -03:00
check_for_std_optional.cmake Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
coverage.cmake More work on router docker image 2019-04-28 17:04:52 +01:00
cross_compile.cmake make windows fixes 2019-08-13 10:02:48 +01:00
enable_lto.cmake cmake refactor 2020-05-17 23:31:23 -03:00
installer.cmake Add simple installer readme 2020-04-19 23:18:48 -03:00
libatomic.cmake new cmake module 2019-09-03 08:02:32 -05:00
macos_installer_deps.cmake Use install(PROGRAMS... instead of isntall(FILES... 2020-04-21 17:37:10 -06:00
shadow.cmake Partial fixes for shadow 2019-08-26 23:10:48 +00:00
solaris.cmake remove all disused platform-specific event loops 2019-06-13 21:02:57 -05:00
static_link.cmake cmake refactor 2020-05-17 23:31:23 -03:00
target_link_libraries_system.cmake Revert "Merge pull request #679 from tewinget/revert-config-refactor" 2019-07-06 14:46:25 +01:00
unix.cmake cmake refactor 2020-05-17 23:31:23 -03:00
win32.cmake cmake refactor 2020-05-17 23:31:23 -03:00
win32_installer_deps.cmake make installer pull in tuntap driver 2020-04-02 11:08:07 -04:00