Fixed MOZILLA_NMH_DIR setting again.
continuous-integration/drone/push Build is passing Details

option() does only accept a boolean value, apparently. If unset, files are
installed to "${CMAKE_INSTALL_PREFIX}/OFF".
This commit is contained in:
tastytea 2019-08-09 12:45:02 +02:00
parent aa622e7cc9
commit 450873ed22
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ option(WITH_MAN "Compile and install manpage." YES)
option(WITH_TESTS "Compile tests." NO)
option(WITH_MOZILLA "Build and install wrapper for Mozilla browsers." YES)
option(BUILD_SHARED_LIBS "Build shared libraries." YES)
option(MOZILLA_NMH_DIR "Directory for the Mozilla extension wrapper."
"${CMAKE_INSTALL_LIBDIR}/mozilla/native-messaging-hosts")
set(MOZILLA_NMH_DIR "${CMAKE_INSTALL_LIBDIR}/mozilla/native-messaging-hosts"
CACHE STRING "Directory for the Mozilla extension wrapper.")
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)