CMake: Localized dependency on Perl.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78788 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Oscar Fuentes 2009-08-12 04:16:19 +00:00
parent 8e3864f99c
commit fdb9677ae9
3 changed files with 1 additions and 3 deletions

View File

@ -19,8 +19,6 @@ endif()
string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
include(FindPerl)
set(LLVM_MAIN_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(LLVM_MAIN_INCLUDE_DIR ${LLVM_MAIN_SRC_DIR}/include)
set(LLVM_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})

View File

@ -1,4 +1,3 @@
include(FindPerl)
include(LLVMLibDeps)
function(get_system_libs return_var)

View File

@ -1,5 +1,6 @@
include(TestBigEndian)
include(FindPerl)
if( NOT PERL_FOUND )
message(FATAL_ERROR "Perl required but not found!")
endif( NOT PERL_FOUND )