18 lines
431 B
CMake
18 lines
431 B
CMake
# This CMake file tries to find Unity
|
|
#
|
|
# The following variables are set:
|
|
# UNITY_FOUND - Unity sources are found
|
|
# Unity_INCLUDE_DIRS - Unity include directories
|
|
###
|
|
|
|
# generic
|
|
set(Unity_SOURCES
|
|
"${PROJECT_SOURCE_DIR}/Unity/src/unity.c")
|
|
|
|
set(Unity_INCLUDE_DIRS
|
|
"${PROJECT_SOURCE_DIR}/Unity/src"
|
|
)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(Unity DEFAULT_MSG Unity_INCLUDE_DIRS Unity_SOURCES)
|