diff --git a/CMakeLists.txt b/CMakeLists.txt
index 592720cee5fcead3d29204a430dd7ed1d9c3d1fb..e98faa4a803b8399a7777bc28a2edbe65cc5c006 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -64,7 +64,7 @@ endif()
 
 SET(Simox_LIB_DIR ${Simox_BINARY_DIR}/lib)
 SET(Simox_BIN_DIR ${Simox_BINARY_DIR}/bin)
-SET(Simox_DATA_DIR ${CurrentSimoxPath}/VirtualRobot/data)
+SET(Simox_DATA_DIR ${Simox_SOURCE_DIR}/VirtualRobot/data)
 
 MESSAGE (STATUS "** SIMOX LIB DIR: ${Simox_LIB_DIR}")
 MESSAGE (STATUS "** SIMOX BIN DIR: ${Simox_BIN_DIR}")