Use old-style boost includes

The Boost::boost style library dependencies don't work
on some CMake versions (couldn't find library -lBoost::boost)

Use ${Boost_INCLUDE_DIRS} in the target_include_dirs() instead.
This commit is contained in:
John Beard 2019-04-22 00:56:34 +01:00
parent e2c12d8c25
commit 1a9aa2e92d
1 changed files with 1 additions and 1 deletions

View File

@ -23,11 +23,11 @@ add_library( kicad2step_lib STATIC
target_include_directories( kicad2step_lib PUBLIC target_include_directories( kicad2step_lib PUBLIC
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/include # for core ${CMAKE_SOURCE_DIR}/include # for core
${Boost_INCLUDE_DIR}
) )
target_link_libraries( kicad2step_lib target_link_libraries( kicad2step_lib
sexpr sexpr
Boost::boost
) )
set( K2S_FILES set( K2S_FILES