Remove second Boost find routine

This commit is contained in:
Jon Evans 2022-05-29 17:57:34 -04:00
parent 31c24f4421
commit 63a6237d2d
1 changed files with 0 additions and 15 deletions

View File

@ -164,21 +164,6 @@ elseif(MINGW)
set(ODBC_LIBRARIES odbc32 odbccp32)
endif()
########################################
## find Boost if necessary
########################################
if(NANODBC_ENABLE_BOOST)
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_MULTITHREADED ON)
find_package(Boost COMPONENTS locale REQUIRED)
if(Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
link_directories(${CMAKE_BINARY_DIR}/lib ${Boost_LIBRARY_DIRS})
else()
message(FATAL_ERROR "can not find boost")
endif()
endif()
########################################
## Mac OS X specifics for targets
########################################