Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 27, 2011, 2:34:12 AM (14 years ago)
Author:
rgrieder
Message:

Added new library linking keywords for the Add Target Command.
That makes OS specific library linking less tedious to read.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib2/src/external/ois/CMakeLists.txt

    r8338 r8341  
    6464  VERSION
    6565    1.3
     66  LINK_LIBS_WIN32
     67    ${DIRECTX_LIBRARIES}
     68    ${WMI_LIBRARY}
     69  LINK_LIBS_APPLE
     70    /System/Library/Frameworks/IOKit.framework
     71    /System/Library/Frameworks/Carbon.framework
     72  LINK_LIBS_LINUX
     73    X11
    6674  SOURCE_FILES
    6775    ${OIS_FILES}
    6876)
    69 
    70 IF(WIN32)
    71   TARGET_LINK_LIBRARIES(ois_orxonox ${DIRECTX_LIBRARIES} ${WMI_LIBRARY})
    72 ELSEIF(APPLE)
    73   TARGET_LINK_LIBRARIES(ois_orxonox "/System/Library/Frameworks/IOKit.framework" "/System/Library/Frameworks/Carbon.framework")
    74 ENDIF()
Note: See TracChangeset for help on using the changeset viewer.