1 PROJECT(CHECK_LIBRARY_EXISTS)
4 ADD_DEFINITIONS(-DCHECK_FUNCTION_EXISTS=${CHECK_LIBRARY_EXISTS_FUNCTION})
5 LINK_DIRECTORIES(${CHECK_LIBRARY_EXISTS_LOCATION})
6 ADD_EXECUTABLE(CheckLibraryExists ${CHECK_LIBRARY_EXISTS_SOURCE})
7 TARGET_LINK_LIBRARIES(CheckLibraryExists ${CHECK_LIBRARY_EXISTS_LIBRARY})