summaryrefslogtreecommitdiff
path: root/Modules/FindosgSim.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindosgSim.cmake')
-rw-r--r--Modules/FindosgSim.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindosgSim.cmake b/Modules/FindosgSim.cmake
index 865cb0b2cc..b66a991540 100644
--- a/Modules/FindosgSim.cmake
+++ b/Modules/FindosgSim.cmake
@@ -46,6 +46,6 @@ include(Findosg_functions)
OSG_FIND_PATH (OSGSIM osgSim/ImpostorSprite)
OSG_FIND_LIBRARY(OSGSIM osgSim)
-include("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake")
+include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(osgSim DEFAULT_MSG
OSGSIM_LIBRARY OSGSIM_INCLUDE_DIR)