libwebsockets-config.cmake.in 788 B

1234567891011121314151617181920212223
  1. # - Config file for lws
  2. # It defines the following variables
  3. # LIBWEBSOCKETS_INCLUDE_DIRS - include directories for FooBar
  4. # LIBWEBSOCKETS_LIBRARIES - libraries to link against
  5. # Get the path of the current file.
  6. get_filename_component(LWS_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
  7. # Set the include directories.
  8. set(LIBWEBSOCKETS_INCLUDE_DIRS "@LWS__INCLUDE_DIRS@")
  9. # Include the project Targets file, this contains definitions for IMPORTED targets.
  10. include(${LWS_CMAKE_DIR}/LibwebsocketsTargets.cmake)
  11. # IMPORTED targets from LibwebsocketsTargets.cmake
  12. set(LIBWEBSOCKETS_LIBRARIES websockets websockets_shared)
  13. # These are additional libs that lws wants your app to also link to
  14. foreach(item "@LIB_LIST_AT_END@")
  15. list(APPEND LIBWEBSOCKETS_DEP_LIBS ${item})
  16. endforeach()