summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorDennis Klein <d.klein@gsi.de>2019-08-20 23:55:47 (GMT)
committerDennis Klein <d.klein@gsi.de>2019-08-20 23:55:47 (GMT)
commit0148f1a86749b29ace262862ca018a7683c24c42 (patch)
tree22e39731c10d1c44ab986e7de1dcc74628e21ecd /Modules
parent43fe736b2bf272647fb24b481bdc9a585c0666ac (diff)
downloadCMake-0148f1a86749b29ace262862ca018a7683c24c42.zip
CMake-0148f1a86749b29ace262862ca018a7683c24c42.tar.gz
CMake-0148f1a86749b29ace262862ca018a7683c24c42.tar.bz2
FindBoost: Add note about header-only libs in warning msg
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindBoost.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index 25dd397..1f9477b 100644
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -1981,7 +1981,8 @@ foreach(COMPONENT ${Boost_FIND_COMPONENTS})
endif()
else()
set(Boost_${UPPERCOMPONENT}_HEADER ON)
- message(WARNING "No header defined for ${COMPONENT}; skipping header check")
+ message(WARNING "No header defined for ${COMPONENT}; skipping header check "
+ "(note: header-only libraries have no designated component)")
endif()
#