mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 17:48:52 +00:00
cmake: split BUILD_GUI_DEPS option into two
The split is to make this software more packageable. 'make install' is used by the package building scripts, and should not be installing vendored dependencies onto the system.
This commit is contained in:
parent
aa996e3a60
commit
77fa663e94
@ -603,7 +603,11 @@ if(BUILD_DOCUMENTATION)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# when ON - will install libunbound and libwallet_merged into "lib"
|
# when ON - will install libwallet_merged into "lib"
|
||||||
option(BUILD_GUI_DEPS "Build GUI dependencies." OFF)
|
option(BUILD_GUI_DEPS "Build GUI dependencies." OFF)
|
||||||
|
|
||||||
|
# This is not nice, distribution packagers should not enable this, but depend
|
||||||
|
# on libunbound shipped with their distribution instead
|
||||||
|
option(INSTALL_VENDORED_LIBUNBOUND "Install libunbound binary built from source vendored with this repo." OFF)
|
||||||
|
|
||||||
|
|
||||||
|
2
external/unbound/CMakeLists.txt
vendored
2
external/unbound/CMakeLists.txt
vendored
@ -230,7 +230,7 @@ if (MINGW)
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
|
||||||
if (BUILD_GUI_DEPS)
|
if (INSTALL_VENDORED_LIBUNBOUND)
|
||||||
install(TARGETS unbound
|
install(TARGETS unbound
|
||||||
ARCHIVE DESTINATION lib)
|
ARCHIVE DESTINATION lib)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user