diff --git a/Examples/Application/test/CMakeLists.txt b/Examples/Application/test/CMakeLists.txt
index d0b6fd7f480fe41a276d97e9072647bf59d7a972..734afa7ca6100310aaf676cd040bc7fb9708fd37 100644
--- a/Examples/Application/test/CMakeLists.txt
+++ b/Examples/Application/test/CMakeLists.txt
@@ -1,5 +1,5 @@
 
 otb_test_application(NAME apTeGenerateAnApplicationExample
   APP ApplicationExample
-  OPTIONS -in ${EXAMPLEDATA}/QB_Suburb.png
+  OPTIONS -in ${OTB_DATA_ROOT}/Examples/QB_Suburb.png
           -out ${TEMP}/apTeGenerateAnApplicationExampleOutput.png)