mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
合并#57
This commit is contained in:
parent
20ca0f76cd
commit
e27e7bed4d
@ -44,9 +44,9 @@ foreach(TEST_SRC ${TEST_SRC_LIST})
|
||||
target_link_libraries(${TEST_EXE_NAME} ${LINK_LIB_LIST})
|
||||
endforeach()
|
||||
|
||||
if(MSVC)
|
||||
if(MSVC AND SDL2_FOUND AND AVCODEC_FOUND AND AVUTIL_FOUND)
|
||||
set_target_properties(test_player PROPERTIES LINK_FLAGS "/SAFESEH:NO /SUBSYSTEM:WINDOWS" )
|
||||
endif(MSVC)
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user