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

2023-01-16 Thread Geert Janssens
Op maandag 16 januari 2023 17:35:48 CET schreef John Ralls:
> 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

Perfect. Warnings are gone.


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


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

2023-01-16 Thread John Ralls



> On Jan 15, 2023, at 12:36 PM, Geert Janssens  
> 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

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


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

2023-01-15 Thread Geert Janssens
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


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel