From 541865b88b0b6f7425bec7a6ade8a99763e92b3f Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 28 Jan 2022 11:53:35 +0100 Subject: mpm: cmake: Remove installation of non-relevant EEPROM tools On N3x0 and E3x0 devices, we were erroneously installing EEPROM utilities that are only relevant on X410. --- mpm/tools/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mpm/tools/CMakeLists.txt') diff --git a/mpm/tools/CMakeLists.txt b/mpm/tools/CMakeLists.txt index c61e4562c..f735c04f3 100644 --- a/mpm/tools/CMakeLists.txt +++ b/mpm/tools/CMakeLists.txt @@ -44,4 +44,6 @@ foreach(eeprom_tool_source ${eeprom_tool_sources}) install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${eeprom_tool} DESTINATION ${RUNTIME_DIR}) endforeach(eeprom_tool_source ${eeprom_tool_sources}) -add_subdirectory(tlv_eeprom) +if(ENABLE_LIBMPM AND ENABLE_X400) + add_subdirectory(tlv_eeprom) +endif(ENABLE_LIBMPM AND ENABLE_X400) -- cgit v1.2.3