mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-11-29 18:59:14 +08:00
fix modules/xxx.cmake
This commit is contained in:
parent
4afdcbf1ca
commit
ad54042c8e
@ -21,7 +21,7 @@ if(BZIP2_INCLUDE_DIRS AND BZIP2_LIBRARIES)
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(zlib REQUIRED_VARS BZIP2_INCLUDE_DIRS BZIP2_LIBRARIES
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(BZip2 REQUIRED_VARS BZIP2_INCLUDE_DIRS BZIP2_LIBRARIES
|
||||
# FOUND_VAR BZIP2_FOUND VERSION_VAR BZIP2_VERSION)
|
||||
mark_as_advanced(BZIP2_LIBRARIES BZIP2_LIBRARY BZIP2_INCLUDE_DIRS BZIP2_INCLUDE_DIR BZIP2_FOUND BZIP2_VERSION)
|
||||
|
||||
|
@ -47,7 +47,7 @@ if(BROTLIENC_INCLUDE_DIRS AND BROTLIDENC_LIBRARIES)
|
||||
set(BROTLIENC_VERSION ${PC_BROTLIENC_VERSION})
|
||||
mark_as_advanced(BROTLIENC_LIBRARIES BROTLIENC_LIBRARY BROTLIENC_INCLUDE_DIRS BROTLIENC_INCLUDE_DIR BROTLIENC_FOUND BROTLIENC_VERSION)
|
||||
endif()
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(zlib REQUIRED_VARS BROTLI_INCLUDE_DIRS BROTLI_LIBRARIES
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(Brotli REQUIRED_VARS BROTLI_INCLUDE_DIRS BROTLI_LIBRARIES
|
||||
# FOUND_VAR BROTLI_FOUND VERSION_VAR BROTLI_VERSION)
|
||||
|
||||
|
||||
|
@ -39,7 +39,7 @@ if(DIRECTFB_INCLUDE_DIRS AND DIRECTFB_LIBRARIES)
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(directfb REQUIRED_VARS DIRECTFB_INCLUDE_DIRS DIRECTFB_LIBRARIES
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(DirectFB REQUIRED_VARS DIRECTFB_INCLUDE_DIRS DIRECTFB_LIBRARIES
|
||||
FOUND_VAR DIRECTFB_FOUND VERSION_VAR DIRECTFB_VERSION)
|
||||
|
||||
mark_as_advanced(DIRECTFB_LIBRARIES DIRECTFB_LIBRARY DIRECTFB_INCLUDE_DIRS DIRECTFB_INCLUDE_DIR DIRECTFB_FOUND)
|
||||
|
@ -20,7 +20,7 @@ if(EXPAT_INCLUDE_DIR AND EXPAT_LIBRARY)
|
||||
set(EXPAT_LIBRARIES ${EXPAT_LIBRARY})
|
||||
set(EXPAT_VERSION ${PC_EXPAT_VERSION})
|
||||
include(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(expat FOUND_VAR EXPAT_FOUND VERSION_VAR EXPAT_VERSION
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(EXPAT FOUND_VAR EXPAT_FOUND VERSION_VAR EXPAT_VERSION
|
||||
REQUIRED_VARS EXPAT_LIBRARIES EXPAT_LIBRARY EXPAT_INCLUDE_DIRS EXPAT_INCLUDE_DIR)
|
||||
mark_as_advanced(EXPAT_LIBRARIES EXPAT_LIBRARY EXPAT_INCLUDE_DIRS EXPAT_INCLUDE_DIR)
|
||||
endif()
|
||||
|
@ -22,7 +22,7 @@ if(FRIBIDI_INCLUDE_DIRS AND FRIBIDI_LIBRARIES)
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(zlib REQUIRED_VARS FRIBIDI_INCLUDE_DIRS FRIBIDI_LIBRARIES
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(Fribidi REQUIRED_VARS FRIBIDI_INCLUDE_DIRS FRIBIDI_LIBRARIES
|
||||
# FOUND_VAR FRIBIDI_FOUND VERSION_VAR FRIBIDI_VERSION)
|
||||
|
||||
mark_as_advanced(FRIBIDI_LIBRARIES FRIBIDI_LIBRARY FRIBIDI_INCLUDE_DIRS FRIBIDI_INCLUDE_DIR FRIBIDI_FOUND)
|
||||
|
@ -21,7 +21,7 @@ if(GTEST_INCLUDE_DIRS AND GTEST_LIBRARIES)
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(zlib REQUIRED_VARS GTEST_INCLUDE_DIRS GTEST_LIBRARIES
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTEST REQUIRED_VARS GTEST_INCLUDE_DIRS GTEST_LIBRARIES
|
||||
# FOUND_VAR GTEST_FOUND VERSION_VAR GTEST_VERSION)
|
||||
|
||||
mark_as_advanced(GTEST_LIBRARIES GTEST_LIBRARY GTEST_INCLUDE_DIRS GTEST_INCLUDE_DIR GTEST_FOUND GTEST_VERSION)
|
||||
|
@ -28,7 +28,7 @@ if(HV_INCLUDE_DIR AND HV_LIBRARY)
|
||||
set(HV_LIBRARIES ${HV_LIBRARY})
|
||||
set(HV_VERSION ${PC_HV_VERSION})
|
||||
include(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(hv FOUND_VAR HV_FOUND VERSION_VAR HV_VERSION
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(HV FOUND_VAR HV_FOUND VERSION_VAR HV_VERSION
|
||||
REQUIRED_VARS HV_LIBRARIES HV_LIBRARY HV_INCLUDE_DIRS HV_INCLUDE_DIR)
|
||||
mark_as_advanced(HV_LIBRARIES HV_LIBRARY HV_INCLUDE_DIRS HV_INCLUDE_DIR)
|
||||
endif()
|
||||
|
@ -22,7 +22,7 @@ endif()
|
||||
|
||||
#message("JPEG_LIBRARIES=${JPEG_LIBRARIES} JPEG_FOUND=${JPEG_FOUND}")
|
||||
include(FindPackageHandleStandardArgs)
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(zlib REQUIRED_VARS JPEG_INCLUDE_DIRS JPEG_LIBRARIES
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(JPEG REQUIRED_VARS JPEG_INCLUDE_DIRS JPEG_LIBRARIES
|
||||
# FOUND_VAR JPEG_FOUND VERSION_VAR JPEG_VERSION)
|
||||
|
||||
mark_as_advanced(JPEG_LIBRARIES JPEG_LIBRARY JPEG_INCLUDE_DIRS JPEG_INCLUDE_DIR JPEG_FOUND)
|
||||
|
@ -22,7 +22,7 @@ if(JSONCPP_INCLUDE_DIRS AND JSONCPP_LIBRARIES)
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(zlib REQUIRED_VARS JSONCPP_INCLUDE_DIRS JSONCPP_LIBRARIES
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(JSONCPP REQUIRED_VARS JSONCPP_INCLUDE_DIRS JSONCPP_LIBRARIES
|
||||
# FOUND_VAR JSONCPP_FOUND VERSION_VAR JSONCPP_VERSION)
|
||||
|
||||
mark_as_advanced(JSONCPP_LIBRARIES JSONCPP_LIBRARY JSONCPP_INCLUDE_DIRS JSONCPP_INCLUDE_DIR JSONCPP_FOUND)
|
||||
|
@ -22,7 +22,7 @@ if(LITEHTML_INCLUDE_DIRS AND LITEHTML_LIBRARIES)
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(zlib REQUIRED_VARS LITEHTML_INCLUDE_DIRS LITEHTML_LIBRARIES
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(LiteHtml REQUIRED_VARS LITEHTML_INCLUDE_DIRS LITEHTML_LIBRARIES
|
||||
# FOUND_VAR LITEHTML_FOUND VERSION_VAR LITEHTML_VERSION)
|
||||
|
||||
mark_as_advanced(LITEHTML_LIBRARIES LITEHTML_LIBRARY LITEHTML_INCLUDE_DIRS LITEHTML_INCLUDE_DIR LITEHTML_FOUND)
|
||||
|
@ -32,7 +32,7 @@ if(MBEDTLS_INCLUDE_DIR AND MBTLS_LIBRARY)
|
||||
set(MBEDTLS_LIBRARIES ${MBEDTLS_LIBRARY})
|
||||
set(MBEDTLS_VERSION ${PC_MBEDTLS_VERSION})
|
||||
include(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(mbedtls FOUND_VAR MBEDTLS_FOUND VERSION_VAR MBEDTLS_VERSION
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(MBEDTLS FOUND_VAR MBEDTLS_FOUND VERSION_VAR MBEDTLS_VERSION
|
||||
REQUIRED_VARS MBEDTLS_LIBRARIES MBEDTLS_LIBRARY MBEDTLS_INCLUDE_DIRS MBEDTLS_INCLUDE_DIR)
|
||||
mark_as_advanced(MBEDTLS_LIBRARIES MBEDTLS_LIBRARY MBEDTLS_INCLUDE_DIRS MBEDTLS_INCLUDE_DIR)
|
||||
endif()
|
||||
|
@ -24,7 +24,7 @@ if(PLPLOT_INCLUDE_DIRS AND PLPLOT_LIBRARIES)
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(plplot REQUIRED_VARS PLPLOT_INCLUDE_DIRS PLPLOT_LIBRARIES
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(PLPLOT REQUIRED_VARS PLPLOT_INCLUDE_DIRS PLPLOT_LIBRARIES
|
||||
FOUND_VAR PLPLOT_FOUND VERSION_VAR PLPLOT_VERSION)
|
||||
|
||||
mark_as_advanced(PLPLOT_LIBRARIES PLPLOT_LIBRARY PLPLOT_INCLUDE_DIRS PLPLOT_INCLUDE_DIR PLPLOT_FOUND)
|
||||
|
@ -19,7 +19,7 @@ if(PNG_INCLUDE_DIRS AND PNG_LIBRARIES)
|
||||
set(PNG_INCLUDE_DIR ${PNG_INCLUDE_DIRS})
|
||||
set(PNG_VERSION ${PC_PNG_VERSION})
|
||||
include(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(png FOUND_VAR PNG_FOUND VERSION_VAR PNG_VERSION
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(PNG FOUND_VAR PNG_FOUND VERSION_VAR PNG_VERSION
|
||||
REQUIRED_VARS PNG_INCLUDE_DIRS PNG_INCLUDE_DIR PNG_LIBRARIES PNG_LIBRARY)
|
||||
|
||||
mark_as_advanced(PNG_LIBRARIES PNG_LIBRARY PNG_INCLUDE_DIRS PNG_INCLUDE_DIR PNG_VERSION)
|
||||
|
@ -22,7 +22,7 @@ if(PIXMAN_INCLUDE_DIRS AND PIXMAN_LIBRARIES)
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(zlib REQUIRED_VARS PIXMAN_INCLUDE_DIRS PIXMAN_LIBRARIES
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(Pixman REQUIRED_VARS PIXMAN_INCLUDE_DIRS PIXMAN_LIBRARIES
|
||||
# FOUND_VAR PIXMAN_FOUND VERSION_VAR PIXMAN_VERSION)
|
||||
|
||||
mark_as_advanced(PIXMAN_LIBRARIES PIXMAN_LIBRARY PIXMAN_INCLUDE_DIRS PIXMAN_INCLUDE_DIR PIXMAN_FOUND)
|
||||
|
@ -18,7 +18,7 @@ if(SDL2_INCLUDE_DIRS AND SDL2_LIBRARIES)
|
||||
set(SDL2_INCLUDE_DIR ${SDL2_INCLUDE_DIRS})
|
||||
set(SDL2_VERSION ${PC_SDL_VERSION})
|
||||
include(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(sdl2 FOUND_VAR SDL2_FOUND VERSION_VAR SDL2_VERSION
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2 FOUND_VAR SDL2_FOUND VERSION_VAR SDL2_VERSION
|
||||
REQUIRED_VARS SDL2_INCLUDE_DIRS SDL2_INCLUDE_DIR SDL2_LIBRARIES SDL2_LIBRARY)
|
||||
|
||||
mark_as_advanced(SDL2_LIBRARIES SDL2_LIBRARY SDL2_INCLUDE_DIRS SDL2_INCLUDE_DIR SDL2_VERSION)
|
||||
|
@ -21,7 +21,7 @@ if(TURBOJPEG_INCLUDE_DIRS AND TURBOJPEG_LIBRARIES)
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(zlib REQUIRED_VARS TURBOJPEG_INCLUDE_DIRS TURBOJPEG_LIBRARIES
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(TurboJPEG REQUIRED_VARS TURBOJPEG_INCLUDE_DIRS TURBOJPEG_LIBRARIES
|
||||
# FOUND_VAR TURBOJPEG_FOUND VERSION_VAR TURBOJPEG_VERSION)
|
||||
|
||||
mark_as_advanced(TURBOJPEG_LIBRARIES TURBOJPEG_LIBRARY TURBOJPEG_INCLUDE_DIRS TURBOJPEG_INCLUDE_DIR TURBOJPEG_FOUND)
|
||||
|
@ -22,7 +22,7 @@ if(UNIBREAK_INCLUDE_DIRS AND UNIBREAK_LIBRARIES)
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(zlib REQUIRED_VARS UNIBREAK_INCLUDE_DIRS UNIBREAK_LIBRARIES
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(UniBreak REQUIRED_VARS UNIBREAK_INCLUDE_DIRS UNIBREAK_LIBRARIES
|
||||
# FOUND_VAR UNIBREAK_FOUND VERSION_VAR UNIBREAK_VERSION)
|
||||
|
||||
mark_as_advanced(UNIBREAK_LIBRARIES UNIBREAK_LIBRARY UNIBREAK_INCLUDE_DIRS UNIBREAK_INCLUDE_DIR UNIBREAK_FOUND UNIBREAK_VERSION)
|
||||
|
@ -22,7 +22,7 @@ if(ZIP_INCLUDE_DIRS AND ZIP_LIBRARIES)
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(zlib REQUIRED_VARS ZIP_INCLUDE_DIRS ZIP_LIBRARIES
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(ZIP REQUIRED_VARS ZIP_INCLUDE_DIRS ZIP_LIBRARIES
|
||||
# FOUND_VAR ZIP_FOUND VERSION_VAR ZIP_VERSION)
|
||||
|
||||
mark_as_advanced(ZIP_LIBRARIES ZIP_LIBRARY ZIP_INCLUDE_DIRS ZIP_INCLUDE_DIR ZIP_FOUND)
|
||||
|
@ -22,7 +22,7 @@ if(ZLIB_INCLUDE_DIRS AND ZLIB_LIBRARIES)
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(zlib FOUND_VAR ZLIB_FOUND VERSION_VAR ZLIB_VERSION
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(ZLIB FOUND_VAR ZLIB_FOUND VERSION_VAR ZLIB_VERSION
|
||||
REQUIRED_VARS ZLIB_INCLUDE_DIRS ZLIB_INCLUDE_DIR ZLIB_LIBRARIES ZLIB_LIBRARY)
|
||||
|
||||
mark_as_advanced(ZLIB_LIBRARIES ZLIB_LIBRARY ZLIB_INCLUDE_DIRS ZLIB_INCLUDE_DIR ZLIB_FOUND ZLIB_VERSION)
|
||||
|
Loading…
Reference in New Issue
Block a user