Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #6780 from EOSIO/fix/llvm_dir_path
Browse files Browse the repository at this point in the history
Fix/llvm dir path
  • Loading branch information
heifner authored Feb 19, 2019
2 parents 6ed86a1 + c52a7c2 commit 2600ba9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
10 changes: 2 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,11 @@ if (UNIX)
execute_process(COMMAND xcrun --show-sdk-path
OUTPUT_VARIABLE CMAKE_OSX_SYSROOT
OUTPUT_STRIP_TRAILING_WHITESPACE)
list(APPEND CMAKE_PREFIX_PATH "/usr/local/opt/llvm@4")
list(APPEND CMAKE_PREFIX_PATH "/usr/local/opt/gettext")
endif()
endif()

if (LLVM_DIR STREQUAL "" OR NOT LLVM_DIR)
set(LLVM_DIR "$ENV{HOME}/opt/llvm/lib/cmake/llvm")
endif()

if (BOOST_ROOT STREQUAL "" OR NOT BOOST_ROOT)
set(BOOST_ROOT "$ENV{HOME}/opt/boost")
endif()

include( GNUInstallDirs )
include( VersionMacros )
include( SetupTargetMacros )
Expand Down
1 change: 0 additions & 1 deletion CMakeModules/EosioTester.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ set( CMAKE_CXX_STANDARD 14 )
set( CMAKE_CXX_EXTENSIONS ON )
set( CXX_STANDARD_REQUIRED ON )

set( BOOST_ROOT @BOOST_ROOT@ )
if ( APPLE )
set( CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-deprecated-declarations" )
else ( APPLE )
Expand Down
2 changes: 0 additions & 2 deletions CMakeModules/EosioTesterBuild.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ set( CMAKE_CXX_STANDARD 14 )
set( CMAKE_CXX_EXTENSIONS ON )
set( CXX_STANDARD_REQUIRED ON )

set( BOOST_ROOT @BOOST_ROOT@ )

if ( APPLE )
set( CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-deprecated-declarations" )
else ( APPLE )
Expand Down

0 comments on commit 2600ba9

Please sign in to comment.