Changeset 8284 for code/branches/kicklib2/src/external/ois/CMakeLists.txt
- Timestamp:
- Apr 21, 2011, 6:58:23 PM (14 years ago)
- Location:
- code/branches/kicklib2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib2
- Property svn:mergeinfo changed
-
code/branches/kicklib2/src/external/ois/CMakeLists.txt
r5929 r8284 31 31 OISKeyboard.h 32 32 OISMouse.h 33 OISMultiTouch.h 33 34 OISObject.h 34 35 OISPrereqs.h 35 36 36 COMPILATION_BEGIN OISCompilation.cpp37 #COMPILATION_BEGIN OISCompilation.cpp 37 38 OISEffect.cpp 38 39 OISException.cpp … … 42 43 OISKeyboard.cpp 43 44 OISObject.cpp 44 COMPILATION_END45 #COMPILATION_END 45 46 ) 46 47 IF(WIN32) … … 52 53 ENDIF() 53 54 54 INCLUDE_DIRECTORIES(.) 55 # Some unexplained hackery for Visual Studio 2005 56 ADD_COMPILER_FLAGS("-D_WIN32_DCOM" MSVC8) 57 58 # MinGW doesn't come with some required Windows headers 59 IF(MINGW) 60 INCLUDE_DIRECTORIES(${WMI_INCLUDE_DIR}) 61 ENDIF() 55 62 56 63 ORXONOX_ADD_LIBRARY(ois_orxonox … … 59 66 "OIS_NONCLIENT_BUILD" 60 67 VERSION 61 1. 268 1.3 62 69 SOURCE_FILES 63 70 ${OIS_FILES} … … 65 72 66 73 IF(WIN32) 67 TARGET_LINK_LIBRARIES(ois_orxonox ${DIRECTX_LIBRARIES}) 74 TARGET_LINK_LIBRARIES(ois_orxonox ${DIRECTX_LIBRARIES} ${WMI_LIBRARY}) 75 ELSEIF(APPLE) 76 TARGET_LINK_LIBRARIES(ois_orxonox "/System/Library/Frameworks/IOKit.framework" "/System/Library/Frameworks/Carbon.framework") 68 77 ENDIF()
Note: See TracChangeset
for help on using the changeset viewer.