From 1a9aa2e92d3973b29ccc022a7b24930388af5836 Mon Sep 17 00:00:00 2001 From: John Beard Date: Mon, 22 Apr 2019 00:56:34 +0100 Subject: [PATCH] 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. --- utils/kicad2step/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/kicad2step/CMakeLists.txt b/utils/kicad2step/CMakeLists.txt index 4589cc0cee..3b6b4dcbd2 100644 --- a/utils/kicad2step/CMakeLists.txt +++ b/utils/kicad2step/CMakeLists.txt @@ -23,11 +23,11 @@ add_library( kicad2step_lib STATIC target_include_directories( kicad2step_lib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/include # for core + ${Boost_INCLUDE_DIR} ) target_link_libraries( kicad2step_lib sexpr - Boost::boost ) set( K2S_FILES