diff --git a/CMakeLists.txt b/CMakeLists.txt index 894cc6e6c..87653a607 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -696,13 +696,6 @@ set_package_properties(Boost PROPERTIES ) if(CMAKE_VERSION VERSION_LESS 3.5) - if(NOT TARGET Boost::boost) - add_library(Boost::boost SHARED IMPORTED) # Trick for CMake 2.8.12 - set_target_properties(Boost::boost PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES ${Boost_INCLUDE_DIR} - IMPORTED_LOCATION ${Boost_DATE_TIME_LIBRARIES} - ) - endif() if(NOT TARGET Boost::date_time) add_library(Boost::date_time SHARED IMPORTED) set_target_properties(Boost::date_time PROPERTIES