Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[CMAKE] Initialize variables before their output.
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Mon, 8 Feb 2016 17:39:47 +0000 (18:39 +0100)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Mon, 22 Feb 2016 13:57:55 +0000 (14:57 +0100)
The overview after 'cmake .' was called often contained 'holes',
i.e., output from variables that were not initialized. I changed
this by initializing the variables.

CMakeLists.txt

index da1fce5..ea6d1be 100644 (file)
@@ -226,9 +226,11 @@ include(CheckIncludeFiles)
 include(CheckLibraryExists)
 include(CheckSymbolExists)
 
+set(HAVE_GRAPHVIZ 0)
 include(FindGraphviz)
 include(FindLibSigc++)
 
+set(HAVE_LUA 0)
 if(enable_lua)
   include(FindLuaSimgrid)
 endif()