From e0abc970ae89138d63c4a6bf124a31bef33ff7b4 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 3 May 2007 08:50:06 +0000 Subject: [PATCH] Added support for setting OpenThreads_SOURCE_DIR to help the install of OpenThreads headers --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 80288db87..c036c432f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,8 @@ SET(OPENSCENEGRAPH_MAJOR_VERSION 1) SET(OPENSCENEGRAPH_MINOR_VERSION 9) SET(OPENSCENEGRAPH_PATCH_VERSION 2) +SET(OpenThreads_SOURCE_DIR ${OpenSceneGraph_SOURCE_DIR}) + # We have some custom .cmake scripts not in the official distribution. # Maybe this can be used override existing behavior if needed? SET(CMAKE_MODULE_PATH "${OpenSceneGraph_SOURCE_DIR}/CMakeModules;${CMAKE_MODULE_PATH}")