(maint) Merge up 3c516f6 to master
Generated by CI
* commit '3c516f6777112edad92cd4a2e0334486656bfc13':
(FACT-1819) Keep libfacter load failure backtrace
(packaging) Bump to version '3.10.1' [no-promote]
(packaging) Bump to version '3.9.6' [no-promote]
Jenkins CI
6 years ago
0 | 0 |
cmake_minimum_required(VERSION 3.2.2)
|
1 | |
project(FACTER VERSION 3.10.0)
|
|
1 |
project(FACTER VERSION 3.10.1)
|
2 | 2 |
|
3 | 3 |
# Set this early, so it's available. AIX gets weird, man.
|
4 | 4 |
if("${CMAKE_SYSTEM_NAME}" MATCHES "AIX")
|
37 | 37 |
# could be handy for archiving the generated documentation or if some version
|
38 | 38 |
# control system is used.
|
39 | 39 |
|
40 | |
PROJECT_NUMBER = 3.10.0
|
|
40 |
PROJECT_NUMBER = 3.10.1
|
41 | 41 |
|
42 | 42 |
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
43 | 43 |
# for a project that appears at the top of each page and should give viewer a
|
38 | 38 |
end
|
39 | 39 |
require "#{facter_dir}/${LIBFACTER_INSTALL_DESTINATION}/libfacter.so"
|
40 | 40 |
rescue LoadError
|
41 | |
raise LoadError.new('libfacter was not found. Please make sure it was installed to the expected location.')
|
|
41 |
raise LoadError, "libfacter was not found. Please make sure it was installed to the expected location.\n" + ($!.message || ''), $!.backtrace
|
42 | 42 |
end
|
43 | 43 |
end
|
44 | 44 |
end
|