Skip to content

Commit

Permalink
build: make cmake --install work well (#9333)
Browse files Browse the repository at this point in the history
ref #6233

build: make `cmake --install . --component=tiflash-release ` work well
  • Loading branch information
JaySon-Huang authored Aug 20, 2024
1 parent 14ed7c0 commit 4817c7d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ set(CMAKE_MACOSX_RPATH 1)

option(TIFLASH_ENABLE_LLVM_DEVELOPMENT "enable facilities for development with LLVM" OFF)

if(NOT CMAKE_PREFIX_PATH AND DEFINED ENV{CMAKE_PREFIX_PATH})
message(STATUS "Reading CMAKE_PREFIX_PATH from env... $ENV{CMAKE_PREFIX_PATH}")
set(CMAKE_PREFIX_PATH "$ENV{CMAKE_PREFIX_PATH}")
endif()
if(CMAKE_PREFIX_PATH)
# append paths for cmake to check libs
set(ENV{LD_LIBRARY_PATH}
Expand Down

0 comments on commit 4817c7d

Please sign in to comment.