diff options
author | Brad King <brad.king@kitware.com> | 2017-02-21 16:11:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-21 16:11:13 (GMT) |
commit | 0b6afec62bbc66052035207ce3b6a0516144c12d (patch) | |
tree | d0ade6fd44fcd53386bc1ac990a8f7da23005395 | |
parent | 4caa0e7e75cb06a99c31a23500ae8e821ca6e13f (diff) | |
parent | 2ab118a8591d8b27ae89de8f3c65b5797fd01dc2 (diff) | |
download | CMake-0b6afec62bbc66052035207ce3b6a0516144c12d.zip CMake-0b6afec62bbc66052035207ce3b6a0516144c12d.tar.gz CMake-0b6afec62bbc66052035207ce3b6a0516144c12d.tar.bz2 |
Merge branch 'FindGTK2-old-sigc++' into release
-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() |