mirror of
https://github.com/reactos/CMake.git
synced 2024-12-18 17:16:58 +00:00
9 lines
298 B
Plaintext
9 lines
298 B
Plaintext
|
PROJECT(CHECK_LIBRARY_EXISTS)
|
||
|
|
||
|
|
||
|
ADD_DEFINITIONS(-DCHECK_FUNCTION_EXISTS=${CHECK_LIBRARY_EXISTS_FUNCTION})
|
||
|
LINK_DIRECTORIES(${CHECK_LIBRARY_EXISTS_LOCATION})
|
||
|
ADD_EXECUTABLE(CheckLibraryExists ${CHECK_LIBRARY_EXISTS_SOURCE})
|
||
|
TARGET_LINK_LIBRARIES(CheckLibraryExists ${CHECK_LIBRARY_EXISTS_LIBRARY})
|
||
|
|