Changed: #842 Fix for nelmisc builds on Windows without DirectX in the VS paths.
This commit is contained in:
parent
0c16089a74
commit
35915a7eec
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,11 @@ IF(JPEG_FOUND)
|
|||
TARGET_LINK_LIBRARIES(nelmisc ${JPEG_LIBRARY})
|
||||
ENDIF(JPEG_FOUND)
|
||||
|
||||
# For DirectInput (di_event_emitter)
|
||||
IF(WIN32)
|
||||
INCLUDE_DIRECTORIES(${DXSDK_INCLUDE_DIR})
|
||||
ENDIF(WIN32)
|
||||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${PNG_INCLUDE_DIR} config_file)
|
||||
TARGET_LINK_LIBRARIES(nelmisc ${LIBXML2_LIBRARIES} ${PNG_LIBRARIES} ${WINSOCK2_LIB})
|
||||
NL_DEFAULT_PROPS(nelmisc "Library: NeL Misc")
|
||||
|
|
Loading…
Reference in a new issue