HEX
Server: Apache
System: Linux a16-asgard6.hospedagemuolhost.com.br 5.14.0-570.52.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025 x86_64
User: maoristu4c3dbd03 (1436)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //opt/puppetlabs/puppet/lib/cmake/leatherman/cmake/options.cmake
include(leatherman)
defoption(ENABLE_CXX_WERROR "Enables the -Werror compiler option" ON)
defoption(COVERALLS "Generate code coverage using Coveralls.io" OFF)
defoption(BOOST_STATIC "Use Boost's static libraries" OFF)
defoption(CURL_STATIC "Use curl's static libraries" OFF)
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON CACHE BOOL "Prepend project includes before system includes")
set(LIB_SUFFIX "" CACHE STRING "Library install suffix")

# Solaris and AIX have poor support for std::locale and boost::locale
# with GCC. Don't use them by default.
if (CMAKE_SYSTEM_NAME MATCHES "AIX" OR CMAKE_SYSTEM_NAME MATCHES "SunOS")
    set(USE_BOOST_LOCALE FALSE)
else()
    set(USE_BOOST_LOCALE TRUE)
endif()
defoption(LEATHERMAN_USE_LOCALES "Use locales for internationalization" ${USE_BOOST_LOCALE})

# Provided so it can be disabled temporarily when we don't have gettext built.
defoption(LEATHERMAN_GETTEXT "Support localization with gettext" ON)

# Map our boost option to the for-realsies one
set(Boost_USE_STATIC_LIBS ${BOOST_STATIC})