diff --git a/Testing/Code/Wrappers/CommandLine/CMakeLists.txt b/Testing/Code/Wrappers/CommandLine/CMakeLists.txt
index a2367115466b75c72e43d42c385ebab56587591f..51063cac3dc1fe878f91ee293f8d6cf84ffc9580 100644
--- a/Testing/Code/Wrappers/CommandLine/CMakeLists.txt
+++ b/Testing/Code/Wrappers/CommandLine/CMakeLists.txt
@@ -152,6 +152,6 @@ otbWrapperCommandLineParserTests.cxx
 otbWrapperCommandLineLauncherTests.cxx
 )
 
-include_directories(${CMAKE_SOURCE_DIR}/Code/Wrappers/CommandLine ${CMAKE_SOURCE_DIR}/Code/Core)
+include_directories(${CMAKE_SOURCE_DIR}/Code/Wrappers/CommandLine)
 add_executable(otbWrapperCommandLineTests ${Wrapper_Command_Line_SRCS})
 target_link_libraries(otbWrapperCommandLineTests OTBIO OTBCommon OTBTesting OTBWrapperCommandLine)