Last change
on this file since 2528 was
2511,
checked in by rgrieder, 16 years ago
|
Merged non 64 bit part of revision 2278 of buildsystem to buildsystem2.
|
-
Property svn:eol-style set to
native
-
Property svn:mergeinfo set to
|
File size:
760 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 | # Several changes and additions by Fabian 'x3n' Landau |
---|
9 | # > www.orxonox.net < |
---|
10 | |
---|
11 | FIND_PATH(DirectX_INCLUDE_DIR dinput.h |
---|
12 | PATHS |
---|
13 | $ENV{DXSDK_DIR} |
---|
14 | PATH_SUFFIXES include Include |
---|
15 | ) |
---|
16 | |
---|
17 | FIND_PATH(DirectX_LIB_DIR dinput8.lib |
---|
18 | PATHS |
---|
19 | $ENV{DXSDK_DIR} |
---|
20 | PATH_SUFFIXES lib Lib lib/x86 Lib/x86 |
---|
21 | ) |
---|
22 | |
---|
23 | INCLUDE(FindPackageHandleStandardArgs) |
---|
24 | FIND_PACKAGE_HANDLE_STANDARD_ARGS(DirectX DEFAULT_MSG DirectX_INCLUDE_DIR DirectX_LIB_DIR) |
---|
25 | |
---|
26 | ENDIF(WIN32) |
---|
27 | |
---|
28 | MARK_AS_ADVANCED(DirectX_INCLUDE_DIR DirectX_LIB_DIR) |
---|
Note: See
TracBrowser
for help on using the repository browser.