Fix to build under Mandrive 2009

2008-12-17
2013-04-26
  • Keith Drescher
    Keith Drescher
    2008-12-17

    Could not build under Mandriva 2009, using cmake 2.6-patch1

    Fix was to CMakeLists.txt

    IF(DEBUG)
       SET(wxWidgets_CONFIG_EXECUTABLE "/usr/bin/wx-config --debug --unicode")
    ELSE(DEBUG)
         SET(wxWidgets_CONFIG_EXECUTABLE "/usr/bin/wx-config --unicode")
    ENDIF(DEBUG)

    changed to:
    SET(wxWidgets_CONFIG_EXECUTABLE "/usr/bin/wx-config")
    IF(DEBUG)
         SET(wxWidgets_USE_DEBUG 1)
         SET(wxWidgets_USE_UNICODE 1)
    ELSE(DEBUG)
         SET(wxWidgets_USE_UNICODE 1)
    ENDIF(DEBUG)

     
    • Gary Lee
      Gary Lee
      2009-01-11

      Dear Drescher:

      Thanks for your suggestion. Your change has been merged into SVN. However, these instruction has been commented out in last SVN version. Because the wxWidgets location should be handled by CMake itself.

      Best Regards,
      Gary Lee.