1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-14 18:41:54 +00:00

pkg_check_modules() before if(CHECK_FOUND)

This commit is contained in:
Derek Dai 2016-08-10 16:44:38 +08:00
parent e863a4498d
commit fc6f19d132

View file

@ -1,10 +1,10 @@
########### next target ###############
if(CHECK_FOUND)
find_package(PkgConfig)
pkg_check_modules (CHECK check)
find_package(PkgConfig)
pkg_check_modules (CHECK check)
if(CHECK_FOUND)
set(test_rtsp_SOURCES test_common.h test_rtsp.c)
add_executable(test_rtsp ${test_rtsp_SOURCES})
target_link_libraries(test_rtsp miracle-shared)