--- a/iAIDA/CMakeLists.txt
+++ b/iAIDA/CMakeLists.txt
@@ -10,6 +10,8 @@
 # 		-DCMAKE_INSTALL_PREFIX=/path/to/install  	# to install in a specific location
 #       -DCMAKE_BUILD_TYPE=DEBUG      				# to switch on some debug messages
 #       -DIAIDA_INSTALL_EXAMPLES=ON   				# to install the binaries of the examples/tests into <installPrefix>/libexec/iAIDA/
+#       -DIAIDA_DO_NOT_USE_ROOT=ON					# do not use optional ROOT  package, even if found on system
+#       -DIAIDA_DO_NOT_USE_Grace=ON					# do not use optional Grace package, even if found on system
 #
 # Copyright (C) Andreas Pfeiffer (apfeiffer1@gmail.com) 2013
 
@@ -18,11 +20,6 @@
 project (iAIDA CXX)
 
 include(GNUInstallDirs)
-
-foreach(_pkg ROOT)
-  configure_file(${PROJECT_SOURCE_DIR}/cmake/Find${_pkg}.cmake ${PROJECT_BINARY_DIR}/Modules/Find${_pkg}.cmake COPYONLY)
-  include(${PROJECT_BINARY_DIR}/Modules/Find${_pkg}.cmake)
-endforeach()
 
 # iAIDA top level CMakeLists.txt 
 
@@ -61,10 +58,19 @@
 
 
 # and check for optional ones. These add their own params to the overall include dir and the optLibs variables:
+# but first check if the user has forbidden the use of any of these (e.g. for licensing reasons)
 foreach(_pkg ROOT Grace)
-  configure_file(${PROJECT_SOURCE_DIR}/cmake/Find${_pkg}.cmake ${PROJECT_BINARY_DIR}/Modules/Find${_pkg}.cmake COPYONLY)
-  include(${PROJECT_BINARY_DIR}/Modules/Find${_pkg}.cmake)
-endforeach()
+  if ( NOT IAIDA_DO_NOT_USE_${_pkg} )
+    configure_file(${PROJECT_SOURCE_DIR}/cmake/Find${_pkg}.cmake ${PROJECT_BINARY_DIR}/Modules/Find${_pkg}.cmake COPYONLY)
+    include(${PROJECT_BINARY_DIR}/Modules/Find${_pkg}.cmake)
+  else ()
+    message( "... user request to ignore use of optional package "+${_pkg} )
+	if ( CMAKE_BUILD_TYPE MATCHES DEBUG ) 
+	   message( "... user request to ignore use of optional package "+${_pkg} )
+	endif ( CMAKE_BUILD_TYPE MATCHES DEBUG ) 
+  endif ( NOT IAIDA_DO_NOT_USE_${_pkg} )
+endforeach()  # check optional packages
+
 
 # set up aida-config
 file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/bin/)
@@ -79,7 +85,7 @@
 ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG) 
 
 # add the subdirs where we need to run make:
-foreach(_dir src tests examples)
+foreach(_dir src tests examples utilities)
     add_subdirectory( ${_dir} )
 endforeach()