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.
15 lines
317 B
15 lines
317 B
list(APPEND CMAKE_FIND_LIBRARY_PREFIXES lib)
|
|
list(APPEND CMAKE_FIND_LIBRARY_SUFFIXES .a)
|
|
find_library(LIB_exists
|
|
NAMES PrefixInPATH
|
|
PATHS ${CMAKE_CURRENT_SOURCE_DIR}/lib
|
|
NO_DEFAULT_PATH
|
|
REQUIRED
|
|
)
|
|
message(STATUS "LIB_exists='${LIB_exists}'")
|
|
|
|
find_library(LIB_doNotExists
|
|
NAMES doNotExists
|
|
REQUIRED
|
|
)
|