Commit acecafbd authored by SR_team's avatar SR_team 💬

fix usage env DXSDK_DIR

parent c3c46623
......@@ -46,7 +46,7 @@ set_target_properties(${PROJECT_NAME} PROPERTIES
CXX_EXTENSIONS NO
)
if ($ENV{DXSDK_DIR} STREQUAL "")
if ("$ENV{DXSDK_DIR}" STREQUAL "")
target_link_libraries(${PROJECT_NAME} d3d9 d3dx9 dxerr9 ${Boost_LIBRARIES})
else()
target_link_libraries(${PROJECT_NAME} d3d9 d3dx9 DxErr ${Boost_LIBRARIES})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment