diff options
author | Aimee Linden <aimee@lindenlab.com> | 2010-08-20 18:16:23 +0100 |
---|---|---|
committer | Aimee Linden <aimee@lindenlab.com> | 2010-08-20 18:16:23 +0100 |
commit | 89cb5aa99eaa7a662cd361746a80ecbb0c5ec7ca (patch) | |
tree | e2e58fa2491e81fd7de94925f4aae5b67bd11910 /indra/cmake/Tut.cmake | |
parent | ba7fa006a11f94d47e263de24d183464eafe7f94 (diff) |
VWR-20855 (SNOW-510) FIXED Cannot find tut/tut.hpp in Standalone builds
Diffstat (limited to 'indra/cmake/Tut.cmake')
-rw-r--r-- | indra/cmake/Tut.cmake | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/cmake/Tut.cmake b/indra/cmake/Tut.cmake index 7488e9dcb0..784560471d 100644 --- a/indra/cmake/Tut.cmake +++ b/indra/cmake/Tut.cmake @@ -1,6 +1,12 @@ # -*- cmake -*- include(Prebuilt) -if (NOT STANDALONE) +set(TUT_FIND_REQUIRED TRUE) +set(TUT_FIND_QUIETLY TRUE) + +if (STANDALONE) + include(FindTut) + include_directories(${TUT_INCLUDE_DIR}) +else (STANDALONE) use_prebuilt_binary(tut) -endif(NOT STANDALONE) +endif (STANDALONE) |