{"action":"created","issue":{"url":"https://api.github.com/repos/Eyescale/CMake/issues/423","labels_url":"https://api.github.com/repos/Eyescale/CMake/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/Eyescale/CMake/issues/423/comments","events_url":"https://api.github.com/repos/Eyescale/CMake/issues/423/events","html_url":"https://github.com/Eyescale/CMake/pull/423","id":112609571,"number":423,"title":"Make missing required dependencies not FATAL_ERROR","user":{"login":"eile","id":354947,"avatar_url":"https://avatars.githubusercontent.com/u/354947?v=3","gravatar_id":"","url":"https://api.github.com/users/eile","html_url":"https://github.com/eile","followers_url":"https://api.github.com/users/eile/followers","following_url":"https://api.github.com/users/eile/following{/other_user}","gists_url":"https://api.github.com/users/eile/gists{/gist_id}","starred_url":"https://api.github.com/users/eile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eile/subscriptions","organizations_url":"https://api.github.com/users/eile/orgs","repos_url":"https://api.github.com/users/eile/repos","events_url":"https://api.github.com/users/eile/events{/privacy}","received_events_url":"https://api.github.com/users/eile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tribal-tec","id":701401,"avatar_url":"https://avatars.githubusercontent.com/u/701401?v=3","gravatar_id":"","url":"https://api.github.com/users/tribal-tec","html_url":"https://github.com/tribal-tec","followers_url":"https://api.github.com/users/tribal-tec/followers","following_url":"https://api.github.com/users/tribal-tec/following{/other_user}","gists_url":"https://api.github.com/users/tribal-tec/gists{/gist_id}","starred_url":"https://api.github.com/users/tribal-tec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tribal-tec/subscriptions","organizations_url":"https://api.github.com/users/tribal-tec/orgs","repos_url":"https://api.github.com/users/tribal-tec/repos","events_url":"https://api.github.com/users/tribal-tec/events{/privacy}","received_events_url":"https://api.github.com/users/tribal-tec/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-10-21T15:00:50Z","updated_at":"2015-10-23T08:44:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Eyescale/CMake/pulls/423","html_url":"https://github.com/Eyescale/CMake/pull/423","diff_url":"https://github.com/Eyescale/CMake/pull/423.diff","patch_url":"https://github.com/Eyescale/CMake/pull/423.patch"},"body":"Takes the basic idea from BRayns, luckily common_package is a macro to allow the retur() out of the top-level CMakeLists. Sample configure run provided below. Also removed the superfluous/harmful extra find_package in SubProject.cmake @biddisco complained about.\n\n\n```\n-- Configured Hello [ff94cfa] with Boost\n-- Configured Servus [4e4ea43] with DNSSD Boost Threads\n-- Configured Deflect [83aaa6b] with Boost GLUT LibJpegTurbo OpenGL Qt5Concurrent Qt5Core Qt5Network Qt5Qml Qt5Quick Qt5Widgets Servus\n-- Configured ZeroBuf [23ac6b4] with Boost Servus\n-- Configured Lunchbox [33a354c] with Boost leveldb Servus WITHOUT hwloc MPI OpenMP skv\n-- Not configured osgTransparency: Required OpenSceneGraph not found\n-- Configured Pression [e813e22] with LibJpegTurbo Lunchbox WITHOUT OpenMP\n-- Configured vmmlib [66a1b6d] with Boost\n-- Configured Brion [d76760e] with BBPTestData Boost HDF5 Lunchbox vmmlib WITHOUT OpenMP\n-- Configured Collage [fa984ee] with Boost Lunchbox Pression WITHOUT OFED UDT\n-- Configured dash [6e05142] with Boost Lunchbox\n-- Configured TUIO [b002886] with GLUT OpenGL SDL\n-- Not configured DisplayCluster: Required MPI not found\n-- Configured GLStats [3c76246] with Lunchbox OpenGL\n-- Configured hwsd [bb9fea4] with Boost Lunchbox OpenGL Qt5Core Qt5Network Servus X11\n-- Configured zeq [6229239] with Boost FlatBuffers libzmq Servus Threads ZeroBuf\n-- Configured BBPSDK [b248d40] with BBPTestData Boost Brion Java JNI Lunchbox PythonInterp PythonLibs vmmlib WITHOUT BBPDocumentation OpenMP SWIG\n-- Configured Equalizer [7bfcd4a] with Boost Collage Deflect GLStats hwsd Lunchbox MAGELLAN OpenGL Pression Qt5Core Qt5Gui Qt5Widgets vmmlib VRPN GLEW_MX WITHOUT hwloc OpenCV OpenSceneGraph X11 hwloc\n-- GLX window system not supported: Skipping example eqCPU\n-- Linking boost testing libs dynamically...\n-- Boost version: 1.59.0\n-- Found the following Boost libraries:\n--   unit_test_framework\n--   system\n--   regex\n--   date_time\n--   thread\n--   filesystem\n--   program_options\n--   chrono\n--   atomic\n-- Configured RESTBridge [a126090] with Boost cppnetlib FlatBuffers zeq\n-- Configured Monsteer [96c8f40] with BBPTestData Boost Brion FlatBuffers Lunchbox PythonInterp PythonLibs vmmlib zeq WITHOUT MPI music\n-- Configured NeuMesh [b6d1f48] with BBPSDK BBPTestData Boost Brion GTK2 GTS HDF5 Lunchbox OpenGL PythonInterp vmmlib VTK WITHOUT OpenMP\n-- Not configured BRayns: Required OSPRay not found\n-- Configured Livre [af4e4b8] with BBPTestData Boost Collage dash Equalizer FlatBuffers GLEW_MX LibJpegTurbo Lunchbox Monsteer OpenGL PNG Qt5Core Qt5OpenGL Qt5Widgets RESTBridge Threads zeq WITHOUT OpenMP Tuvok VTune\n-- Not configured RTNeuron: Required OpenSceneGraph not found\n-- Configured Cubist [0875a40] with Boost GLEW_MX Livre OpenGL VTK\n-- Performing Test C_HAS_WARNING-Wformat=2\n-- Performing Test C_HAS_WARNING-Wformat=2 - Success\n-- Performing Test CXX_HAS_WARNING-Wformat=2\n-- Performing Test CXX_HAS_WARNING-Wformat=2 - Success\n-- Configured Fivox [788753c] with BBPSDK BBPTestData Boost Monsteer ITK Livre vmmlib libzmq\n-- Configured livreDatasources [9484809] with Boost HDF5 Livre\n-- Configured bbp [e41c4bc]\n-- Configuring done\n\n```"},"comment":{"url":"https://api.github.com/repos/Eyescale/CMake/issues/comments/150515646","html_url":"https://github.com/Eyescale/CMake/pull/423#issuecomment-150515646","issue_url":"https://api.github.com/repos/Eyescale/CMake/issues/423","id":150515646,"user":{"login":"eile","id":354947,"avatar_url":"https://avatars.githubusercontent.com/u/354947?v=3","gravatar_id":"","url":"https://api.github.com/users/eile","html_url":"https://github.com/eile","followers_url":"https://api.github.com/users/eile/followers","following_url":"https://api.github.com/users/eile/following{/other_user}","gists_url":"https://api.github.com/users/eile/gists{/gist_id}","starred_url":"https://api.github.com/users/eile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eile/subscriptions","organizations_url":"https://api.github.com/users/eile/orgs","repos_url":"https://api.github.com/users/eile/repos","events_url":"https://api.github.com/users/eile/events{/privacy}","received_events_url":"https://api.github.com/users/eile/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T08:44:58Z","updated_at":"2015-10-23T08:44:58Z","body":"Now with FATAL_ERROR love for top-level projects"}}