projects
/
junction.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Delete JunctionProjectDefs.cmake; simplify AddSample.cmake and move it to samples
[junction.git]
/
cmake
/
modules
/
FindTurf.cmake
diff --git
a/cmake/modules/FindTurf.cmake
b/cmake/modules/FindTurf.cmake
index 2f97d4df703f964988f5c89c814b32b80ff199a4..eef27498d200bd305196c7731c9ac260fbcc34e2 100644
(file)
--- a/
cmake/modules/FindTurf.cmake
+++ b/
cmake/modules/FindTurf.cmake
@@
-12,13
+12,13
@@
# You'll want to set the compiler options before calling AddTurfTarget().
#----------------------------------------------
# You'll want to set the compiler options before calling AddTurfTarget().
#----------------------------------------------
-find_path(TURF_ROOT
NAMES "CMakeLists.txt" "cmake/TurfProjectDefs.cmake
" PATHS
+find_path(TURF_ROOT
"turf/Core.h
" PATHS
"${CMAKE_CURRENT_SOURCE_DIR}/../turf"
"${CMAKE_SOURCE_DIR}/../turf"
"${CMAKE_CURRENT_LIST_DIR}/../../../turf")
if(TURF_ROOT)
"${CMAKE_CURRENT_SOURCE_DIR}/../turf"
"${CMAKE_SOURCE_DIR}/../turf"
"${CMAKE_CURRENT_LIST_DIR}/../../../turf")
if(TURF_ROOT)
-
include("${TURF_ROOT}/cmake/TurfProjectDefs.cmake"
)
+
set(TURF_FOUND TRUE
)
else()
message("Can't find Turf!")
if(Turf_FIND_REQUIRED)
else()
message("Can't find Turf!")
if(Turf_FIND_REQUIRED)