mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +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})
|
target_link_libraries(${TEST_EXE_NAME} ${LINK_LIB_LIST})
|
||||||
endforeach()
|
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" )
|
set_target_properties(test_player PROPERTIES LINK_FLAGS "/SAFESEH:NO /SUBSYSTEM:WINDOWS" )
|
||||||
endif(MSVC)
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user