diff options
-rw-r--r-- | Source/cmakemain.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index 601c060..233e87a 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -303,9 +303,6 @@ int main(int ac, char** av) int do_cmake(int ac, char** av) { -#ifdef CMAKE_BUILD_WITH_CMAKE - cmDocumentation doc; -#endif int nocwd = 0; if ( cmSystemTools::GetCurrentWorkingDirectory().size() == 0 ) @@ -316,6 +313,7 @@ int do_cmake(int ac, char** av) } #ifdef CMAKE_BUILD_WITH_CMAKE + cmDocumentation doc; if(doc.CheckOptions(ac, av) || nocwd) { // Construct and print requested documentation. |