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:
parent
e2c12d8c25
commit
1a9aa2e92d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue