mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
bac3f9dca1
The `sign` target on macos was not working properly -- the signing script would run before the build is finished. This was caused by cmake/macos.cmake having an `if(BUILD_GUI)`, but BUILD_GUI isn't defined as an option until cmake/gui.cmake, which hadn't been included yet where macos.cmake was included. This extracts just the `option(BUIL_GUI)` from gui.cmake into a separate gui-option.cmake file that we can load earlier to fix it. While here I also noticed the GUI_EXE setting was defined as an option, but isn't actually a boolean value, as an option, but isn't actually a boolean value, so fixed it by making it a `set(... CACHE FILEPATH ...)`. |
||
---|---|---|
.. | ||
add_import_library.cmake | ||
check_for_std_filesystem.cmake | ||
check_for_std_optional.cmake | ||
cmake_uninstall.cmake.in | ||
coverage.cmake | ||
cross_compile.cmake | ||
DownloadLibCurl.cmake | ||
DownloadLibSodium.cmake | ||
enable_lto.cmake | ||
FindJemalloc.cmake | ||
FindLibUV.cmake | ||
GenVersion.cmake | ||
gui-option.cmake | ||
gui.cmake | ||
installer.cmake | ||
libatomic.cmake | ||
macos.cmake | ||
MacroEnsureOutOfSourceBuild.cmake | ||
ngtcp2_lib.cmake | ||
solaris.cmake | ||
static_link.cmake | ||
StaticBuild.cmake | ||
target_link_libraries_system.cmake | ||
TargetArch.cmake | ||
unix.cmake | ||
Version.cmake | ||
win32.cmake | ||
win32_installer_deps.cmake |