swh:1:snp:c7c108084bc0bf3d81436bf980b46e98bd338453
Raw File
Tip revision: 5c7de5e814f033b6a1f661b9c428b1509d5aac88 authored by parafin on 22 April 2014, 16:57:17 UTC
OSX packaging: support upcoming macports release (2.3)
Tip revision: 5c7de5e
FindUnity.cmake
SET(UNITY_FIND_REQUIRED ${Unity_FIND_REQUIRED})

include(Prebuilt)

if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
  include(FindPkgConfig)
  pkg_check_modules(UNITY unity)
endif (CMAKE_SYSTEM_NAME STREQUAL "Linux")

if (UNITY_FOUND)
  set(UNITY ON CACHE BOOL "Build with libunity support.")
endif (UNITY_FOUND)
back to top