summaryrefslogtreecommitdiff
path: root/Tests/BuildDepends/Project/link_depends_no_shared_check.cmake
blob: 3a611370f59c214de90634f9a828f3ea7d741767 (plain)
1
2
3
4
5
6
7
if(NOT EXISTS "${lib}" OR NOT EXISTS "${exe}")
  file(REMOVE "${out}")
elseif("${exe}" IS_NEWER_THAN "${lib}")
  file(WRITE "${out}" "1\n")
else()
  file(WRITE "${out}" "0\n")
endif()