diff --git a/CMakeLists.txt b/CMakeLists.txt
index f01da2688cb019da4f416a94e6fe0b0d793c734a..570572f9b361f9ac2a8d33e13025b21146d9ca9b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,10 +11,6 @@ add_custom_target(check
         COMMAND ./cppcheck-misra.sh
         WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/ci")
 
-# Allow the user to set the ECSS Configuration directory using the -DECSS_CONFIGURATION=... command line argument
-set(ECSS_CONFIGURATION "${PROJECT_SOURCE_DIR}/inc/Platform/x86" CACHE PATH
-        "The include directory for the platform-specific ECSS configuration headers"
-        )
 add_compile_options(-Wvla)
 include_directories(${ECSS_CONFIGURATION})
 add_library(common STATIC)
@@ -48,6 +44,7 @@ target_sources(common PRIVATE
         )
 
 target_link_libraries(common PRIVATE etl log_common log_x86)
+
 # Specify the .cpp files for the executables
 IF (X86_BUILD)
     file(GLOB_RECURSE x86_main_SRC "src/Platform/x86/*.cpp")
diff --git a/conanfile.py b/conanfile.py
index 2c5797fdc8a330dad4829922f45385ced2e57a23..db2467ffd1f85daa9803a31de6975cd45c65c0e9 100644
--- a/conanfile.py
+++ b/conanfile.py
@@ -18,8 +18,8 @@ class ECSSServicesRecipe(ConanFile):
 
     # Binary configuration
     settings = "os", "compiler", "build_type", "arch"
-    options = {"shared": [True, False], "fPIC": [True, False]}
-    default_options = {"shared": False, "fPIC": True}
+    options = {"shared": [True, False], "fPIC": [True, False], "ecss_config_file_path": ["ANY"]}
+    default_options = {"shared": False, "fPIC": True, "ecss_config_file_path":"inc/Platform/x86/"}
 
     # Sources are located in the same place as this recipe, copy them to the recipe
     exports_sources = "CMakeLists.txt", "src/*", "inc/*"
@@ -36,6 +36,9 @@ class ECSSServicesRecipe(ConanFile):
         tc = CMakeToolchain(self)
         if self.settings.arch != 'armv7':
             tc.variables["X86_BUILD"] = True
+            tc.variables["ECSS_CONFIGURATION"]="inc/Platform/x86/"
+        else:
+            tc.variables["ECSS_CONFIGURATION"]=self.options.ecss_config_file_path
         tc.generate()
 
     def build(self):