summaryrefslogtreecommitdiff
path: root/Modules/FindosgShadow.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindosgShadow.cmake')
-rw-r--r--Modules/FindosgShadow.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindosgShadow.cmake b/Modules/FindosgShadow.cmake
index e569602cd4..86a339c0d2 100644
--- a/Modules/FindosgShadow.cmake
+++ b/Modules/FindosgShadow.cmake
@@ -46,6 +46,6 @@ include(Findosg_functions)
OSG_FIND_PATH (OSGSHADOW osgShadow/ShadowTexture)
OSG_FIND_LIBRARY(OSGSHADOW osgShadow)
-include("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake")
+include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgShadow DEFAULT_MSG
OSGSHADOW_LIBRARY OSGSHADOW_INCLUDE_DIR)