Fix CMake warning caused by removal of boost dependency when not actually building boost from source.

This commit is contained in:
Wayne Stambaugh 2014-10-31 17:22:37 -04:00
parent 835bb37b88
commit 0561940db0
1 changed files with 4 additions and 0 deletions

View File

@ -531,6 +531,10 @@ if( KICAD_SKIP_BOOST )
message( FATAL_ERROR "Boost 1.54+ libraries are required." )
endif()
# Keeps CMake from complaining about undefined boost dependencies even though Boost was
# found. Sigh!!!!!
add_custom_target( boost )
message( WARNING "
WARNING: You decided to skip building boost library.
KiCad developers strongly advise you to build the bundled boost library, as it is known to work with KiCad.