Index: applications/osgarchive/CMakeLists.txt
===================================================================
--- applications/osgarchive/CMakeLists.txt	(revision 9933)
+++ applications/osgarchive/CMakeLists.txt	(working copy)
@@ -1,6 +1,3 @@
-#this file is automatically generated 
-
-
 SET(TARGET_SRC osgarchive.cpp )
-#### end var setup  ###
+
 SETUP_APPLICATION(osgarchive)
Index: applications/osgviewer/CMakeLists.txt
===================================================================
--- applications/osgviewer/CMakeLists.txt	(revision 9933)
+++ applications/osgviewer/CMakeLists.txt	(working copy)
@@ -1,6 +1,3 @@
-#this file is automatically generated 
-
-
 SET(TARGET_SRC osgviewer.cpp )
-#### end var setup  ###
+
 SETUP_APPLICATION(osgviewer)
Index: applications/osgfilecache/CMakeLists.txt
===================================================================
--- applications/osgfilecache/CMakeLists.txt	(revision 9933)
+++ applications/osgfilecache/CMakeLists.txt	(working copy)
@@ -1,7 +1,4 @@
-
 SET(TARGET_SRC osgfilecache.cpp )
-
 SET(TARGET_ADDED_LIBRARIES osgTerrain )
 
-#### end var setup  ###
 SETUP_APPLICATION(osgfilecache)
Index: applications/CMakeLists.txt
===================================================================
--- applications/CMakeLists.txt	(revision 9933)
+++ applications/CMakeLists.txt	(working copy)
@@ -3,14 +3,14 @@
 SET(OSGCORE_BUNDLED TRUE)
 
 IF(NOT OSGCORE_BUNDLED)
-	FIND_PACKAGE(OSGCORE)
-	IF(OSGCORE_FOUND)
-		INCLUDE(${OSGCORE_USE_FILE})
-	ELSE(OSGCORE_FOUND)
-		MESSAGE(ERROR "OSGCORE neeeded but NOT FOUND")
-	ENDIF(OSGCORE_FOUND)
-	SET(CMAKE_MODULE_PATH  ${PROJECT_SOURCE_DIR}/../../Macros)
-ENDIF(NOT OSGCORE_BUNDLED)
+    FIND_PACKAGE(OSGCORE)
+    IF(OSGCORE_FOUND)
+    	INCLUDE(${OSGCORE_USE_FILE})
+    ELSE()
+    	MESSAGE(ERROR "OSGCORE neeeded but NOT FOUND")
+    ENDIF()
+    SET(CMAKE_MODULE_PATH  ${PROJECT_SOURCE_DIR}/../../Macros)
+ENDIF()
 SET(OPENSCENEGRAPH_APPLICATION_DIR ${PROJECT_SOURCE_DIR})
 
 
@@ -27,19 +27,15 @@
 )
 
 IF(DYNAMIC_OPENSCENEGRAPH)
-
     ADD_SUBDIRECTORY(osgviewer)
     ADD_SUBDIRECTORY(osgarchive)
     ADD_SUBDIRECTORY(osgconv)
     ADD_SUBDIRECTORY(osgfilecache)
     ADD_SUBDIRECTORY(osgversion)
-
-ELSE(DYNAMIC_OPENSCENEGRAPH)
-
+ELSE()
     # need to define this on win32 or linker cries about _declspecs
     ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
 
     ADD_SUBDIRECTORY(osgversion)
-    
-ENDIF(DYNAMIC_OPENSCENEGRAPH)
+ENDIF()
 
Index: applications/osgconv/CMakeLists.txt
===================================================================
--- applications/osgconv/CMakeLists.txt	(revision 9933)
+++ applications/osgconv/CMakeLists.txt	(working copy)
@@ -1,6 +1,3 @@
-#this file is automatically generated 
-
-
 SET(TARGET_SRC
     OrientationConverter.cpp 
     osgconv.cpp
@@ -9,5 +6,4 @@
     OrientationConverter.h
 )
 
-#### end var setup  ###
 SETUP_APPLICATION(osgconv)
