🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
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.
 
 
 
 
 
 

31 lines
884 B

# - Find Oboe
# Find the Oboe library
#
# This module defines the following variable:
# OBOE_FOUND - True if Oboe was found
#
# This module defines the following target:
# oboe::oboe - Import target for linking Oboe to a project
#
find_path(OBOE_INCLUDE_DIR NAMES oboe/Oboe.h
DOC "The Oboe include directory"
)
find_library(OBOE_LIBRARY NAMES oboe
DOC "The Oboe library"
)
# handle the QUIETLY and REQUIRED arguments and set OBOE_FOUND to TRUE if
# all listed variables are TRUE
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Oboe REQUIRED_VARS OBOE_LIBRARY OBOE_INCLUDE_DIR)
if(OBOE_FOUND)
add_library(oboe::oboe UNKNOWN IMPORTED)
set_target_properties(oboe::oboe PROPERTIES
IMPORTED_LOCATION ${OBOE_LIBRARY}
INTERFACE_INCLUDE_DIRECTORIES ${OBOE_INCLUDE_DIR})
endif()
mark_as_advanced(OBOE_INCLUDE_DIR OBOE_LIBRARY)