+
+#=========================================================
+# Data tests path
+
+OPTION(CLITK_DATA_PATH ${CMAKE_CURRENT_BINARY_DIR}/data)
+ADD_DEFINITIONS(-DCLITK_DATA_PATH=\"${CLITK_DATA_PATH}\")
+#=========================================================
+#=========================================================
+# Get the data tests
+IF(WIN32)
+ SET(scriptExt bat)
+ELSE(UNIX)
+ SET(scriptExt sh)
+ENDIF()
+EXEC_PROGRAM(${CMAKE_CURRENT_SOURCE_DIR}/fetch_data_test.${scriptExt} ARGS ${CLITK_DATA_PATH})
+#=========================================================