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.
 
 
 
 
 

12 line
399 B

  1. get_filename_component(CMOCKA_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
  2. if (EXISTS "${CMOCKA_CMAKE_DIR}/CMakeCache.txt")
  3. # In build tree
  4. include(${CMOCKA_CMAKE_DIR}/cmocka-build-tree-settings.cmake)
  5. else()
  6. set(CMOCKA_INCLUDE_DIR @INCLUDE_INSTALL_DIR@)
  7. endif()
  8. set(CMOCKA_LIBRARY @LIB_INSTALL_DIR@/@CMOCKA_LIBRARY_NAME@)
  9. set(CMOCKA_LIBRARIES @LIB_INSTALL_DIR@/@CMOCKA_LIBRARY_NAME@)