Skip to content
Snippets Groups Projects
Commit 0de05499 authored by Aleric Inglewood's avatar Aleric Inglewood
Browse files

VWR-24247: develop.py configure still searches for the wrong header file when checking for Tut

The viewer code includes "tut/tut.hpp" everywhere, so that is what we
should search for when determining an include path for this header.
This just searches in the usual places, including the paths provided
through CMAKE_INCLUDE_PATH, and will find tut/tut.hpp: exactly what
we need.
parent 429e0caf
No related branches found
No related tags found
No related merge requests found
...@@ -72,6 +72,7 @@ Aleric Inglewood ...@@ -72,6 +72,7 @@ Aleric Inglewood
VWR-12984 VWR-12984
VWR-13996 VWR-13996
VWR-14426 VWR-14426
VWR-24247
SNOW-84 SNOW-84
SNOW-477 SNOW-477
SNOW-744 SNOW-744
......
...@@ -3,12 +3,11 @@ ...@@ -3,12 +3,11 @@
# - Find Tut # - Find Tut
# Find the Tut unit test framework includes and library # Find the Tut unit test framework includes and library
# This module defines # This module defines
# TUT_INCLUDE_DIR, where to find tut.h, etc. # TUT_INCLUDE_DIR, where to find tut/tut.hpp.
# TUT_FOUND, If false, do not try to use Tut. # TUT_FOUND, If false, do not try to use Tut.
find_path(TUT_INCLUDE_DIR tut.h find_path(TUT_INCLUDE_DIR tut/tut.hpp
/usr/local/include/ NO_SYSTEM_ENVIRONMENT_PATH
/usr/include
) )
if (TUT_INCLUDE_DIR) if (TUT_INCLUDE_DIR)
......
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