Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5809 for code/branches/core5


Ignore:
Timestamp:
Sep 27, 2009, 3:30:42 PM (15 years ago)
Author:
rgrieder
Message:

Added "lib" library prefix for msvc. This resolved a naming conflict between orxonox (lib) and orxonox (exe).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/cmake/TargetUtilities.cmake

    r5695 r5809  
    166166  ENDIF()
    167167
     168  # Change library prefix to "lib"
     169  IF(MSVC AND ${_target_type} STREQUAL "LIBRARY")
     170    SET_TARGET_PROPERTIES(${_target_name} PROPERTIES
     171      PREFIX "lib"
     172    )
     173  ENDIF()
     174
    168175  # MODULE B
    169176  IF (_arg_MODULE)
Note: See TracChangeset for help on using the changeset viewer.