You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 line
789 B

  1. # - Config file for the FooBar package
  2. # It defines the following variables
  3. # FOOBAR_INCLUDE_DIRS - include directories for FooBar
  4. # FOOBAR_LIBRARIES - libraries to link against
  5. # FOOBAR_EXECUTABLE - the bar executable
  6. # Compute paths
  7. get_filename_component(FOOBAR_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
  8. if(EXISTS "${FOOBAR_CMAKE_DIR}/CMakeCache.txt")
  9. # In build tree
  10. include("${FOOBAR_CMAKE_DIR}/FooBarBuildTreeSettings.cmake")
  11. else()
  12. set(FOOBAR_INCLUDE_DIRS "${FOOBAR_CMAKE_DIR}/@CONF_REL_INCLUDE_DIR@")
  13. endif()
  14. # Our library dependencies (contains definitions for IMPORTED targets)
  15. include("${FOOBAR_CMAKE_DIR}/FooBarLibraryDepends.cmake")
  16. # These are IMPORTED targets created by FooBarLibraryDepends.cmake
  17. set(FOOBAR_LIBRARIES foo)
  18. set(FOOBAR_EXECUTABLE bar)