improved cmake infrastructure: options are checked against libraries
Merge branch 'FlorianRudolf/fix-cmake' into next

Conflicts:
	CMakeLists.txt
	pyviennamesh/CMakeLists.txt
	src/CMakeLists.txt