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

John Ralls jralls at ceridwen.us
Mon Jan 16 11:35:48 EST 2023



> On Jan 15, 2023, at 12:36 PM, Geert Janssens <geert.gnucash at kobaltwit.be> wrote:
> 
> 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 ?

Geert,

I added those last week because of link failures on Windows; the problem turned out to be that ASIO needs winsock, not that there were any additional boost libs. I've reverted the part of the commit that added the boost modules.

Regards,
John Ralls



More information about the gnucash-devel mailing list