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.

10 lines
315 B

set(LIBSOPHON_INCLUDE_DIRS "/opt/sophon/libsophon-current/include")
set(LIBSOPHON_LIB_DIRS "/opt/sophon/libsophon-current/lib")
file(GLOB lib_names RELATIVE ${LIBSOPHON_LIB_DIRS} ${LIBSOPHON_LIB_DIRS}/*)
foreach(name ${lib_names})
find_library(the_${name} "${name}" PATHS ${LIBSOPHON_LIB_DIRS})
endforeach()