diff options
Diffstat (limited to 'lldb/cmake/modules/LLDBConfig.cmake')
-rw-r--r-- | lldb/cmake/modules/LLDBConfig.cmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/cmake/modules/LLDBConfig.cmake b/lldb/cmake/modules/LLDBConfig.cmake index eeddc589443..03e944e507c 100644 --- a/lldb/cmake/modules/LLDBConfig.cmake +++ b/lldb/cmake/modules/LLDBConfig.cmake @@ -55,8 +55,9 @@ if(LLDB_BUILD_FRAMEWORK) message(FATAL_ERROR "LLDB.framework can only be generated when targeting Apple platforms") endif() # CMake 3.6 did not correctly emit POST_BUILD commands for Apple Framework targets - if(CMAKE_VERSION VERSION_LESS 3.7) - message(FATAL_ERROR "LLDB_BUILD_FRAMEWORK is not supported on CMake < 3.7") + # CMake < 3.8 did not have the BUILD_RPATH target property + if(CMAKE_VERSION VERSION_LESS 3.8) + message(FATAL_ERROR "LLDB_BUILD_FRAMEWORK is not supported on CMake < 3.8") endif() set(LLDB_FRAMEWORK_VERSION A CACHE STRING "LLDB.framework version (default is A)") |