Skip to content
Snippets Groups Projects
Commit 89cb5aa9 authored by Aimee Linden's avatar Aimee Linden
Browse files

VWR-20855 (SNOW-510) FIXED Cannot find tut/tut.hpp in Standalone builds

parent ba7fa006
No related branches found
No related tags found
No related merge requests found
...@@ -151,6 +151,7 @@ blino Nakamura ...@@ -151,6 +151,7 @@ blino Nakamura
Boroondas Gupte Boroondas Gupte
SNOW-278 SNOW-278
SNOW-503 SNOW-503
SNOW-510
SNOW-527 SNOW-527
SNOW-624 SNOW-624
VWR-233 VWR-233
...@@ -533,6 +534,7 @@ Robin Cornelius ...@@ -533,6 +534,7 @@ Robin Cornelius
VWR-11128 VWR-11128
VWR-12533 VWR-12533
VWR-12587 VWR-12587
VWR-12758
VWR-12763 VWR-12763
VWR-12995 VWR-12995
Ryozu Kojima Ryozu Kojima
......
# -*- cmake -*-
# - Find Tut
# Find the Tut unit test framework includes and library
# This module defines
# TUT_INCLUDE_DIR, where to find tut.h, etc.
# TUT_FOUND, If false, do not try to use Tut.
find_path(TUT_INCLUDE_DIR tut.h
/usr/local/include/
/usr/include
)
if (TUT_INCLUDE_DIR)
set(TUT_FOUND "YES")
else (TUT_INCLUDE_DIR)
set(TUT_FOUND "NO")
endif (TUT_INCLUDE_DIR)
if (TUT_FOUND)
if (NOT TUT_FIND_QUIETLY)
message(STATUS "Found Tut: ${TUT_INCLUDE_DIR}")
set(TUT_FIND_QUIETLY TRUE) # Only alert us the first time
endif (NOT TUT_FIND_QUIETLY)
else (TUT_FOUND)
if (TUT_FIND_REQUIRED)
message(FATAL_ERROR "Could not find Tut")
endif (TUT_FIND_REQUIRED)
endif (TUT_FOUND)
mark_as_advanced(TUT_INCLUDE_DIR)
# -*- cmake -*- # -*- cmake -*-
include(Prebuilt) 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) use_prebuilt_binary(tut)
endif(NOT STANDALONE) endif (STANDALONE)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment