Changed: #842 Fix for nelmisc builds on Windows without DirectX in the VS paths.
This commit is contained in:
parent
43de0a28b1
commit
ca56d259cc
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