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:
parent
e863a4498d
commit
fc6f19d132
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue