Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 12, 2009, 2:03:07 PM (15 years ago)
Author:
rgrieder
Message:
  • Bugfix: CMake searches the install path per default when finding libraries. That means having Orxonox built my MSVC already installed will screw your mingw compilation.

—> Removed install path from the search paths for Windows

  • Bugfix: Media path default value was still pointing to the development media directory.

Tested mingw and msvc 2008 binaries on another windows xp box (no installed depdencies, no visual studio, no mingw installed, no DirectX SDK, just DX9.0c). It runs without initial orxonox.ini, as should be the case anyway.
Now its time to test this on Linux, though there will be files written to usr/bin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/cmake/LibraryConfig.cmake

    r2644 r2645  
    2828INCLUDE(CompareVersionStrings)
    2929INCLUDE(FindPackageHandleStandardArgs)
     30
     31# Prevent CMake from finding libraries in the installation folder on windows
     32# There might already be an installation from another compiler
     33LIST(REMOVE_ITEM CMAKE_SYSTEM_PREFIX_PATH "${CMAKE_INSTALL_PREFIX}")
    3034
    3135############## Platform Scripts #################
Note: See TracChangeset for help on using the changeset viewer.