mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
cmake: fix up BOOST_IGNORE_SYSTEM_PATHS
The option was set twice when it only needs to be set once. Also fix a bogus dereference and spurious whitespace.
This commit is contained in:
parent
a43f1a88d8
commit
eeffac6839
1 changed files with 1 additions and 2 deletions
|
@ -51,14 +51,13 @@ if (NOT DEFINED ENV{DEVELOPER_LOCAL_TOOLS})
|
||||||
elseif ("$ENV{DEVELOPER_LOCAL_TOOLS}" EQUAL 1)
|
elseif ("$ENV{DEVELOPER_LOCAL_TOOLS}" EQUAL 1)
|
||||||
message(STATUS "Found: env DEVELOPER_LOCAL_TOOLS = 1")
|
message(STATUS "Found: env DEVELOPER_LOCAL_TOOLS = 1")
|
||||||
set(BOOST_IGNORE_SYSTEM_PATHS_DEFAULT ON)
|
set(BOOST_IGNORE_SYSTEM_PATHS_DEFAULT ON)
|
||||||
option(BOOST_IGNORE_SYSTEM_PATHS "Ignore boost system paths for local boost installation" ON)
|
|
||||||
else()
|
else()
|
||||||
message(STATUS "found: env DEVELOPER_LOCAL_TOOLS = 0")
|
message(STATUS "found: env DEVELOPER_LOCAL_TOOLS = 0")
|
||||||
set(BOOST_IGNORE_SYSTEM_PATHS_DEFAULT OFF)
|
set(BOOST_IGNORE_SYSTEM_PATHS_DEFAULT OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
message(STATUS "BOOST_IGNORE_SYSTEM_PATHS defaults to ${BOOST_IGNORE_SYSTEM_PATHS_DEFAULT}")
|
message(STATUS "BOOST_IGNORE_SYSTEM_PATHS defaults to ${BOOST_IGNORE_SYSTEM_PATHS_DEFAULT}")
|
||||||
option(BOOST_IGNORE_SYSTEM_PATHS "Ignore boost system paths for local boost ins tallation" $BOOST_IGNORE_SYSTEM_PATHS_DEFAULT)
|
option(BOOST_IGNORE_SYSTEM_PATHS "Ignore boost system paths for local boost installation" ${BOOST_IGNORE_SYSTEM_PATHS_DEFAULT})
|
||||||
|
|
||||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
|
|
Loading…
Reference in a new issue