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.
59 lines
1.5 KiB
59 lines
1.5 KiB
if(WIN32)
|
|
set(_check_files
|
|
[[lib]]
|
|
[[lib/(lib)?namelink-none\.dll]]
|
|
[[lib/(lib)?namelink-same\.dll]]
|
|
[[lib/(lib)?namelink-sep\.dll]]
|
|
[[lib/(lib)?namelink-skip\.dll]]
|
|
)
|
|
elseif(MSYS)
|
|
set(_check_files
|
|
[[lib]]
|
|
[[lib/msys-namelink-none\.dll]]
|
|
[[lib/msys-namelink-same-1\.dll]]
|
|
[[lib/msys-namelink-sep-1\.dll]]
|
|
[[lib/msys-namelink-skip-1\.dll]]
|
|
)
|
|
elseif(CYGWIN)
|
|
set(_check_files
|
|
[[lib]]
|
|
[[lib/cygnamelink-none\.dll]]
|
|
[[lib/cygnamelink-same-1\.dll]]
|
|
[[lib/cygnamelink-sep-1\.dll]]
|
|
[[lib/cygnamelink-skip-1\.dll]]
|
|
)
|
|
elseif(APPLE)
|
|
set(_check_files
|
|
[[lib]]
|
|
[[lib/libnamelink-none\.dylib]]
|
|
[[lib/libnamelink-same\.1\.0\.dylib]]
|
|
[[lib/libnamelink-same\.1\.dylib]]
|
|
[[lib/libnamelink-same\.dylib]]
|
|
[[lib/libnamelink-sep\.1\.0\.dylib]]
|
|
[[lib/libnamelink-sep\.1\.dylib]]
|
|
[[lib/libnamelink-skip\.1\.0\.dylib]]
|
|
[[lib/libnamelink-skip\.1\.dylib]]
|
|
)
|
|
elseif(NO_NAMELINK)
|
|
set(_check_files
|
|
[[lib]]
|
|
[[lib/libnamelink-none\.so]]
|
|
[[lib/libnamelink-same\.so]]
|
|
[[lib/libnamelink-sep\.so]]
|
|
[[lib/libnamelink-skip\.so]]
|
|
)
|
|
else()
|
|
set(_check_files
|
|
[[lib]]
|
|
[[lib/libnamelink-none\.so]]
|
|
[[lib/libnamelink-same\.so]]
|
|
[[lib/libnamelink-same\.so\.1]]
|
|
[[lib/libnamelink-same\.so\.1\.0]]
|
|
[[lib/libnamelink-sep\.so\.1]]
|
|
[[lib/libnamelink-sep\.so\.1\.0]]
|
|
[[lib/libnamelink-skip\.so\.1]]
|
|
[[lib/libnamelink-skip\.so\.1\.0]]
|
|
)
|
|
endif()
|
|
check_installed("^${_check_files}$")
|