From ebbc70c220c16d7936eaedc768351ee17c3687a4 Mon Sep 17 00:00:00 2001 From: Pat Gavlin Date: Fri, 27 Feb 2015 18:32:38 -0800 Subject: [PATCH] Don't attempt to walk up the directory tree after finding LLDB.h. The value returned from find_path is already correct. --- src/ToolBox/SOS/lldbplugin/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ToolBox/SOS/lldbplugin/CMakeLists.txt b/src/ToolBox/SOS/lldbplugin/CMakeLists.txt index 325ad3b..44ed059 100644 --- a/src/ToolBox/SOS/lldbplugin/CMakeLists.txt +++ b/src/ToolBox/SOS/lldbplugin/CMakeLists.txt @@ -18,10 +18,6 @@ if(CLR_CMAKE_PLATFORM_UNIX) message(FATAL_ERROR "Cannot find LLDB.h. Try installing lldb-3.5-dev (or the appropriate package for your platform)") endif() endif() - - # Add the parent's parent's directory to the include path - get_filename_component(LLDB_H LLDB_H DIRECTORY) - get_filename_component(LLDB_H LLDB_H DIRECTORY) include_directories(LLDB_H) set(ENABLE_SOSPLUGIN ON) -- 2.7.4