mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 10:35:50 +00:00
Improve CMake find_boost compatibility:
* Put all the relevant calls together. * Sensibly handle stage vs. stage64 lib directories. * Unable to move target_link_libraries acur_project not defined in new location, so breaks non-win builds
This commit is contained in:
committed by
Brad Chase
parent
db13ddf844
commit
f37aa1d6c8
@@ -282,7 +282,11 @@ macro(find_boost)
|
||||
endif()
|
||||
else(DEFINED ENV{BOOST_ROOT})
|
||||
include_directories(SYSTEM $ENV{BOOST_ROOT})
|
||||
link_directories($ENV{BOOST_ROOT}/stage/lib)
|
||||
if(IS_DIRECTORY $ENV{BOOST_ROOT}/stage64/lib)
|
||||
link_directories($ENV{BOOST_ROOT}/stage64/lib)
|
||||
else()
|
||||
link_directories($ENV{BOOST_ROOT}/stage/lib)
|
||||
endif()
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user