summaryrefslogtreecommitdiffstats
path: root/Modules/FindosgWidget.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2012-11-03 20:35:44 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2012-11-04 04:55:37 (GMT)
commit8ebf74b02fe936888f7b3af59dd983405bef9cf7 (patch)
tree2d71d53fd131166b94cc36ceafbf2ce13ff32aca /Modules/FindosgWidget.cmake
parentd39bd3e6a8dc89637197c305102724c337b7fb0f (diff)
downloadCMake-8ebf74b02fe936888f7b3af59dd983405bef9cf7.zip
CMake-8ebf74b02fe936888f7b3af59dd983405bef9cf7.tar.gz
CMake-8ebf74b02fe936888f7b3af59dd983405bef9cf7.tar.bz2
Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include()
This solves a lots of warnings, e.g. in the FindModulesExecuteAll test. If the installed version on the system is rather old this may even lead to bugs, e.g. https://bugs.gentoo.org/show_bug.cgi?id=436540
Diffstat (limited to 'Modules/FindosgWidget.cmake')
-rw-r--r--Modules/FindosgWidget.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindosgWidget.cmake b/Modules/FindosgWidget.cmake
index 1a51e60..cb2e12f 100644
--- a/Modules/FindosgWidget.cmake
+++ b/Modules/FindosgWidget.cmake
@@ -42,7 +42,7 @@
# #include <osg/PositionAttitudeTransform>
# #include <osgWidget/Widget>
-include(Findosg_functions)
+include(${CMAKE_CURRENT_LIST_DIR}/Findosg_functions.cmake)
OSG_FIND_PATH (OSGWIDGET osgWidget/Widget)
OSG_FIND_LIBRARY(OSGWIDGET osgWidget)
#n4'>4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
@REM Copyright by The HDF Group.
@REM Copyright by the Board of Trustees of the University of Illinois.
@REM All rights reserved.
@REM
@REM This file is part of HDF5.  The full HDF5 copyright notice, including
@REM terms governing use, modification, and redistribution, is contained in
@REM the files COPYING and Copyright.html.  COPYING can be found at the root
@REM of the source code distribution tree; Copyright.html can be found at the
@REM root level of an installed copy of the electronic HDF5 document set and
@REM is linked from the top-level documents page.  It can also be found at
@REM http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have
@REM access to either file, you may request a copy from help@hdfgroup.org.

@REM File name: install_hlcppdll.bat
@REM This batch file is used to copy HDF5 c++ library high level DLLs into system folder.
@REM By Fang GUO
@REM Created: July 14, 2005
@REM Last Updated: 

@ ECHO OFF
copy proj\hdf5_hl_cppdll\Release\hdf5_hl_cppdll.dll %SystemRoot%\system >temp.txt
copy proj\hdf5_hl_cppdll\Debug\hdf5_hl_cppdlld.dll %SystemRoot%\system >temp.txt
del temp.txt