summaryrefslogtreecommitdiffstats
path: root/Modules/FindosgVolume.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindosgVolume.cmake')
-rw-r--r--Modules/FindosgVolume.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindosgVolume.cmake b/Modules/FindosgVolume.cmake
index 4a46d1e..f916667 100644
--- a/Modules/FindosgVolume.cmake
+++ b/Modules/FindosgVolume.cmake
@@ -46,6 +46,6 @@ include(Findosg_functions)
OSG_FIND_PATH (OSGVOLUME osgVolume/Volume)
OSG_FIND_LIBRARY(OSGVOLUME osgVolume)
-include("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake")
+include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgVolume DEFAULT_MSG
OSGVOLUME_LIBRARY OSGVOLUME_INCLUDE_DIR)