Fixed a bug that causes MICROCERN build to fail
authorjjose <jjose@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 20 Oct 2010 16:20:34 +0000 (16:20 +0000)
committerjjose <jjose@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 20 Oct 2010 16:20:34 +0000 (16:20 +0000)
CMakeLists.txt

index d6bd13f..2d2eac6 100644 (file)
@@ -171,9 +171,6 @@ set(EXPORTFILES)
 
 add_custom_target(alilibs-static)
 add_custom_target(include-headers)
-if(DATE_FOUND AND AMORE_FOUND)
-  include (CMakeDA)
-endif(DATE_FOUND AND AMORE_FOUND)
 
 # Add Modules
 # ------------------------------
@@ -186,6 +183,10 @@ foreach(MODULE ${MODDIRS})
 
 endforeach(MODULE)
 
+if(DATE_FOUND AND AMORE_FOUND)
+  include (CMakeDA)
+endif(DATE_FOUND AND AMORE_FOUND)
+
 #--------------------------------------------------------------------------------#
 # Additional Targets                                                             #
 #--------------------------------------------------------------------------------#