I dont know how to compile amule (latest git clone) from scratch with cmake and downloaded wxwidgets-source (3.2.10).
Older amule release used configure and make. You've set --with-wxdir the path to the wx-sourcefolder
and it compiled.
Now with cmake this does not work:
I set the path in amule/cmake/search-dirs.cmake like this:
SET (wxWidgets_ROOT_DIR "${CMAKE_SOURCE_DIR}/../wx3/wxWidgets-3.2.10")
wx is in amule/wx3/wxwxWidgets-3.2.10.
I also tried absolute path, didn't work,
cmake always can not find wxwidgets:
...
CMake Error at /usr/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES
wxWidgets_INCLUDE_DIRS) (Required is at least version "3.2.0")
Call Stack (most recent call first):
/usr/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-4.2/Modules/FindwxWidgets.cmake:1181 (find_package_handle_standard_args)
cmake/wx.cmake:57 (find_package)
CMakeLists.txt:94 (include)```
I dont know how to compile amule (latest git clone) from scratch with cmake and downloaded wxwidgets-source (3.2.10).
Older amule release used configure and make. You've set --with-wxdir the path to the wx-sourcefolder
and it compiled.
Now with cmake this does not work:
I set the path in amule/cmake/search-dirs.cmake like this:
SET (wxWidgets_ROOT_DIR "${CMAKE_SOURCE_DIR}/../wx3/wxWidgets-3.2.10")wx is in amule/wx3/wxwxWidgets-3.2.10.
I also tried absolute path, didn't work,
cmake always can not find wxwidgets: