Browse Source

Merge 882796e0e9 into 6e9e34ed08

pull/199/merge
Michael Cho 7 months ago committed by GitHub
parent
commit
b5969f5b2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      CMakeLists.txt

8
CMakeLists.txt

@ -173,13 +173,17 @@ else()
set(INNOEXTRACT_HAVE_LZMA 0)
endif()
find_package(Boost REQUIRED COMPONENTS
set(BOOST_REQUIRED_COMPONENTS
iostreams
filesystem
date_time
system
program_options
)
find_package(Boost REQUIRED COMPONENTS ${BOOST_REQUIRED_COMPONENTS})
if(Boost_MAJOR_VERSION EQUAL 1 AND Boost_MINOR_VERSION LESS 69)
list(APPEND BOOST_REQUIRED_COMPONENTS system)
find_package(Boost REQUIRED COMPONENTS ${BOOST_REQUIRED_COMPONENTS})
endif()
list(APPEND LIBRARIES ${Boost_LIBRARIES})
link_directories(${Boost_LIBRARY_DIRS})
include_directories(SYSTEM ${Boost_INCLUDE_DIR})

Loading…
Cancel
Save