[GNC-dev] New warnings on cmake master - Fedora 36

Geert Janssens <[email protected]>
Newsgroups gmane.comp.gnome.apps.gnucash.devel
Organization Kobalt W.I.T.
Message-ID <[email protected]>
Commit

https://github.com/Gnucash/gnucash/commit/
fed4daf4e7dea7c85a56ad08f1817319272f7567

Added a number of boost libraries in the cmake check. Since that commit a 
cmake run will spew these warnings:

CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:2217 (message): 
 No header defined for algorithm; skipping header check (note: header-only 
 libraries have no designated component) 
Call Stack (most recent call first): 
 CMakeLists.txt:549 (find_package) 


CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:2217 (message): 
 No header defined for asio; skipping header check (note: header-only 
 libraries have no designated component) 
Call Stack (most recent call first): 
 CMakeLists.txt:549 (find_package) 


CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:2217 (message): 
 No header defined for process; skipping header check (note: header-only 
 libraries have no designated component) 
Call Stack (most recent call first): 
 CMakeLists.txt:549 (find_package) 


CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:2217 (message): 
 No header defined for property_tree; skipping header check (note: 
 header-only libraries have no designated component) 
Call Stack (most recent call first): 
 CMakeLists.txt:549 (find_package)



As the warning suggests, header only libraries shouldn't be added to 
FindBoost. That's at least the case on Fedora. Did you have problems with 
finding these header-only libraries on other platforms ?

Regards,

Geert
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.