diff options
author | Brad King <brad.king@kitware.com> | 2017-02-21 16:14:01 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2017-02-21 16:14:01 (GMT) |
commit | f5d6d27168fefe3ef05bd1863c25c3e9505e4b04 (patch) | |
tree | a4df77dc06b668de2e4cf9aa1d105f6bd899fdf2 | |
parent | 48ef9c5ae64da6cfe1470f4420abd29263ec2c92 (diff) | |
parent | 2ab118a8591d8b27ae89de8f3c65b5797fd01dc2 (diff) | |
download | CMake-f5d6d27168fefe3ef05bd1863c25c3e9505e4b04.zip CMake-f5d6d27168fefe3ef05bd1863c25c3e9505e4b04.tar.gz CMake-f5d6d27168fefe3ef05bd1863c25c3e9505e4b04.tar.bz2 |
Merge topic 'FindGTK2-old-sigc++'
2ab118a8 FindGTK2: handle old libsigc++ versions
-rw-r--r-- | Modules/FindGTK2.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake index 6747be5..20d7924 100644 --- a/Modules/FindGTK2.cmake +++ b/Modules/FindGTK2.cmake @@ -223,7 +223,10 @@ function(_GTK2_SIGCXX_GET_VERSION _OUT_major _OUT_minor _OUT_micro _sigcxxversio set(${_OUT_minor} ${${_OUT_minor}} PARENT_SCOPE) set(${_OUT_micro} ${${_OUT_micro}} PARENT_SCOPE) else() - message(FATAL_ERROR "Include file ${_gtkversion_hdr} does not exist") + # The header does not have the version macros; assume it is ``0.0.0``. + set(${_OUT_major} 0) + set(${_OUT_minor} 0) + set(${_OUT_micro} 0) endif() endfunction() |