Skip to content

Instantly share code, notes, and snippets.

@kangaroo
Created March 3, 2015 01:16
Show Gist options
  • Save kangaroo/a3b10599b63cc06b7106 to your computer and use it in GitHub Desktop.
Save kangaroo/a3b10599b63cc06b7106 to your computer and use it in GitHub Desktop.
diff --git a/src/ToolBox/SOS/lldbplugin/CMakeLists.txt b/src/ToolBox/SOS/lldbplugin/CMakeLists.txt
index 6847e05..32d654a 100644
--- a/src/ToolBox/SOS/lldbplugin/CMakeLists.txt
+++ b/src/ToolBox/SOS/lldbplugin/CMakeLists.txt
@@ -10,7 +10,8 @@ if(CLR_CMAKE_PLATFORM_UNIX)
# Check for LLDB library
find_library(LLDB NAMES lldb lldb-3.5 PATHS "${WITH_LLDB_LIBS}")
if(LLDB STREQUAL LLDB-NOTFOUND)
- message(FATAL_ERROR "Cannot find lldb or lldb-3.5. Try installing lldb-3.5-dev (or the appropriate package for your platform)")
+ message("Cannot find lldb or lldb-3.5. Try installing lldb-3.5-dev (or the appropriate package for your platform)")
+ return()
endif()
# Check for LLDB headers
@@ -18,7 +19,8 @@ if(CLR_CMAKE_PLATFORM_UNIX)
if(LLDB_H STREQUAL LLDB_H-NOTFOUND)
find_path(LLDB_H "lldb/API/LLDB.h" PATHS "/usr/lib/llvm-3.5/include")
if(LLDB_H STREQUAL LLDB_H-NOTFOUND)
- message(FATAL_ERROR "Cannot find LLDB.h. Try installing lldb-3.5-dev (or the appropriate package for your platform)")
+ message("Cannot find LLDB.h. Try installing lldb-3.5-dev (or the appropriate package for your platform)")
+ return()
endif()
endif()
include_directories("${LLDB_H}")
basalt:osx plasma$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment