X-Git-Url: http://plrg.eecs.uci.edu/git/?p=junction.git;a=blobdiff_plain;f=CMakeLists.txt;h=93cf495de51c5b16630515332694455c1a4bb503;hp=be8526d4b46b6ce23dea5cafe20b7d6792d78b05;hb=5e0de1150b2aff1cf4a5b5c47a7cc9b06d50663c;hpb=4249e1abd767b5cbbe9b722710b90ed49cd0390a diff --git a/CMakeLists.txt b/CMakeLists.txt index be8526d..93cf495 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,8 @@ set(JUNCTION_ALL_DLLS "") list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules") # Add turf targets and import its macros since we use them below -find_package(Turf REQUIRED) +get_filename_component(outerPath "${CMAKE_CURRENT_LIST_DIR}/.." ABSOLUTE) +set(TURF_ROOT "${outerPath}/turf" CACHE STRING "Path to Turf") include("${TURF_ROOT}/cmake/Macros.cmake") if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) # If this is the root project, apply build settings here so that