Skip to content

Commit

Permalink
Merge pull request EOSIO#25 from EOSIO/install-prefix-warning-message…
Browse files Browse the repository at this point in the history
…-improvement

consistent path in warning message when resetting default install prefix
  • Loading branch information
arhag authored Aug 1, 2018
2 parents c00f290 + 0484ee8 commit be1d1a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set(VERSION_MINOR 1)
set(VERSION_PATCH 0)

if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
message(WARNING "CMAKE_INSTALL_PREFIX is set to default path of ${CMAKE_INSTALL_PREFIX}, resetting to /usr/local/eosio.wasmsdk")
message(WARNING "CMAKE_INSTALL_PREFIX is set to default path of ${CMAKE_INSTALL_PREFIX}, resetting to ${CMAKE_INSTALL_PREFIX}/eosio.wasmsdk")
set(CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/eosio.wasmsdk")
elseif ("${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr/local")
message(WARNING "CMAKE_INSTALL_PREFIX is explicitly set to /usr/local. This is not recommended.")
Expand Down

0 comments on commit be1d1a4

Please sign in to comment.