mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 12:11:36 +08:00
15 lines
427 B
CMake
15 lines
427 B
CMake
find_path(ZLTOOLKIT_INCLUDE_DIR
|
|
NAMES ZLToolKit/Network/Socket.h
|
|
PATHS $ENV{HOME}/ZLToolKit/include)
|
|
|
|
find_library(ZLTOOLKIT_LIBRARY
|
|
NAMES ZLToolKit
|
|
PATHS $ENV{HOME}/ZLToolKit/lib)
|
|
|
|
set(ZLTOOLKIT_LIBRARIES ${ZLTOOLKIT_LIBRARY})
|
|
set(ZLTOOLKIT_INCLUDE_DIRS ${ZLTOOLKIT_INCLUDE_DIR})
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
find_package_handle_standard_args(ZLTOOLKIT DEFAULT_MSG ZLTOOLKIT_LIBRARY ZLTOOLKIT_INCLUDE_DIR)
|