Remove more DX CMake bits
There is also a weird bit in here that seems like it should be whether to use system or included libpng, but it actually does the directx include dir on one side.
This commit is contained in:
+2
-4
@@ -481,9 +481,6 @@ if(WIN32)
|
||||
"setupapi.lib"
|
||||
"hid.lib")
|
||||
|
||||
get_filename_component(DIRECTX_LIBRARY_DIR "${DIRECTX_LIBRARIES}" DIRECTORY)
|
||||
|
||||
sm_add_link_flag("${SM_EXE_NAME}" "/LIBPATH:\"${DIRECTX_LIBRARY_DIR}\"")
|
||||
sm_add_link_flag("${SM_EXE_NAME}" "/LIBPATH:\"${SM_EXTERN_DIR}/ffmpeg/lib\"")
|
||||
sm_add_link_flag("${SM_EXE_NAME}"
|
||||
"/LIBPATH:\"${SM_SRC_DIR}/archutils/Win32/ddk\"")
|
||||
@@ -665,7 +662,8 @@ else()
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
list(APPEND SM_INCLUDE_DIRS ${DIRECTX_INCLUDE_DIR})
|
||||
# FIXME: This makes no sense...
|
||||
#list(APPEND SM_INCLUDE_DIRS ${DIRECTX_INCLUDE_DIR})
|
||||
else()
|
||||
list(APPEND SM_INCLUDE_DIRS "${SM_EXTERN_DIR}/libpng/include")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user