Merge pull request #1040

77fa663 cmake: split BUILD_GUI_DEPS option into two (redfish)
This commit is contained in:
Riccardo Spagni 2016-09-10 15:10:08 +02:00
commit 7bebbbe5fe
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
2 changed files with 6 additions and 2 deletions

View File

@ -603,7 +603,11 @@ if(BUILD_DOCUMENTATION)
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)
# 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)

View File

@ -230,7 +230,7 @@ if (MINGW)
endif ()
if (BUILD_GUI_DEPS)
if (INSTALL_VENDORED_LIBUNBOUND)
install(TARGETS unbound
ARCHIVE DESTINATION lib)
endif()