1 #----------------------------------------------
2 # When Turf is found, it's basically as if TurfProjectDefs.cmake was included.
4 # Later, this might find binary packages too.
8 # TURF_ROOT - the root folder
9 # TURF_INCLUDE_DIRS - pass to include_directories()
10 # AddTurfTarget() - call this to actually add the target
12 # You'll want to set the compiler options before calling AddTurfTarget().
13 #----------------------------------------------
15 find_path(TURF_ROOT "turf/Core.h" PATHS
16 "${CMAKE_CURRENT_SOURCE_DIR}/../turf"
17 "${CMAKE_SOURCE_DIR}/../turf"
18 "${CMAKE_CURRENT_LIST_DIR}/../../../turf")
23 message("Can't find Turf!")
24 if(Turf_FIND_REQUIRED)
25 message(FATAL_ERROR "Missing required package Turf")