Last change
on this file since 1497 was
1494,
checked in by rgrieder, 16 years ago
|
- set the svn:eol-style property to all files so, that where ever you check out, you'll get the right line endings
(had to change every file with mixed endings to windows in order to set the property)
|
-
Property svn:eol-style set to
native
|
File size:
914 bytes
|
Line | |
---|
1 | IF(WIN32) |
---|
2 | # - Test for DirectX |
---|
3 | # Once loaded this will define |
---|
4 | # DirectX_FOUND - system has DirectX |
---|
5 | # DirectX_INCLUDE_DIR - include directory for DirectX |
---|
6 | # DirectX_LIB_DIR - lib directory for DirectX |
---|
7 | |
---|
8 | set(DirectX_FOUND "NO") |
---|
9 | |
---|
10 | FIND_PATH(DirectX_INCLUDE_DIR "dinput.h" |
---|
11 | C:/DXSDK/Include |
---|
12 | ) |
---|
13 | |
---|
14 | FIND_PATH(DirectX_LIB_DIR "dinput8.lib" |
---|
15 | C:/DXSDK/Lib |
---|
16 | C:/DXSDK/Lib/x86 |
---|
17 | ) |
---|
18 | |
---|
19 | if(DirectX_INCLUDE_DIR AND DirectX_LIB_DIR) |
---|
20 | set(DirectX_FOUND "YES") |
---|
21 | endif(DirectX_INCLUDE_DIR AND DirectX_LIB_DIR) |
---|
22 | |
---|
23 | if (DirectX_FOUND) |
---|
24 | if (NOT DirectX_FIND_QUIETLY) |
---|
25 | message(STATUS "Found DirectX") |
---|
26 | endif (NOT DirectX_FIND_QUIETLY) |
---|
27 | else (DirectX_FOUND) |
---|
28 | if (DirectX_FIND_REQUIRED) |
---|
29 | message(FATAL_ERROR "Could not find DirectX") |
---|
30 | else (DirectX_FOUNC) |
---|
31 | message(STATUS "Could not find DirectX") |
---|
32 | endif (DirectX_FIND_REQUIRED) |
---|
33 | endif (DirectX_FOUND) |
---|
34 | ENDIF(WIN32) |
---|
Note: See
TracBrowser
for help on using the repository browser.