summaryrefslogtreecommitdiff
path: root/Modules/FindosgAnimation.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindosgAnimation.cmake')
-rw-r--r--Modules/FindosgAnimation.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindosgAnimation.cmake b/Modules/FindosgAnimation.cmake
index 6cfc784219..83e669ad68 100644
--- a/Modules/FindosgAnimation.cmake
+++ b/Modules/FindosgAnimation.cmake
@@ -46,6 +46,6 @@ include(Findosg_functions)
OSG_FIND_PATH (OSGANIMATION osgAnimation/Animation)
OSG_FIND_LIBRARY(OSGANIMATION osgAnimation)
-include("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake")
+include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgAnimation DEFAULT_MSG
OSGANIMATION_LIBRARY OSGANIMATION_INCLUDE_DIR)