swh:1:snp:c7c108084bc0bf3d81436bf980b46e98bd338453
Tip revision: 8207f03c26aa40fb7d40fb691ac3dd88351b84c5 authored by Ulrich Pegelow on 22 December 2015, 17:01:27 UTC
opencl: regard include files when checking for CL source re-compilation
opencl: regard include files when checking for CL source re-compilation
Tip revision: 8207f03
FindUnity.cmake
SET(UNITY_FIND_REQUIRED ${Unity_FIND_REQUIRED})
include(Prebuilt)
include(LibFindMacros)
libfind_pkg_check_modules(UNITY unity)
foreach(i ${UNITY_LIBRARIES})
find_library(_unity_LIBRARY NAMES ${i} HINTS ${UNITY_LIBRARY_DIRS})
LIST(APPEND UNITY_LIBRARY ${_unity_LIBRARY})
unset(_unity_LIBRARY CACHE)
endforeach(i)
set(UNITY_LIBRARIES ${UNITY_LIBRARY})
unset(UNITY_LIBRARY CACHE)
if (UNITY_FOUND)
set(UNITY ON CACHE BOOL "Build with libunity support.")
endif (UNITY_FOUND)