Can't build anything that requires wxWidgets 3.0, because FindwxWidgets.cmake uses wx-config instead of ws-config-3.0. CMakeLists.txt cmake_minimum_required(VERSION 3.0) project(testwx) find_package(wxWidgets 3.0 REQUIRED core base) include(${wxWidgets_USE_FILE}) add_executable(testwx testwx.cpp) target_link_libraries(testwx ${wxWidgets_LIBRARIES}) testwx.cpp #include <wx/wx.h> int main(int argc, char** argv) { wxString test = "Hello, World!"; return 0; } Result: In file included ... from /usr/include/wx-2.8/wx/wx.h:16 ... no known conversion for argument 1 from «const char [14]» to «int»
Couple things: - I don't think the FindwxWidgets parses the 3.0 in any meaningful way (http://www.cmake.org/Bug/view.php?id=10694) - For now this appears to work: cmake -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config-3.0'
Filed upstream: http://www.cmake.org/Bug/view.php?id=15540
cmake-3.3.1-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/cmake-3.3.1-1.fc22
Package cmake-3.3.1-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing cmake-3.3.1-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-13569/cmake-3.3.1-1.fc22 then log in and leave karma (feedback).
This has gone stable in fc22 since a long time. Closing here.