summaryrefslogtreecommitdiffstats
path: root/Modules/Findosg_functions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Findosg_functions.cmake')
-rw-r--r--Modules/Findosg_functions.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/Findosg_functions.cmake b/Modules/Findosg_functions.cmake
index ab836ff..30c0876 100644
--- a/Modules/Findosg_functions.cmake
+++ b/Modules/Findosg_functions.cmake
@@ -38,7 +38,7 @@ function(OSG_FIND_PATH module header)
/opt
/usr/freeware
)
-endfunction(OSG_FIND_PATH module header)
+endfunction()
#
@@ -85,13 +85,13 @@ function(OSG_FIND_LIBRARY module library)
set(${module_uc}_LIBRARIES ${${module_uc}_LIBRARY} PARENT_SCOPE)
else()
# They really have a FOO_LIBRARY_DEBUG
- set(${module_uc}_LIBRARIES
+ set(${module_uc}_LIBRARIES
optimized ${${module_uc}_LIBRARY}
debug ${${module_uc}_LIBRARY_DEBUG}
PARENT_SCOPE
)
endif()
-endfunction(OSG_FIND_LIBRARY module library)
+endfunction()
#
# OSG_MARK_AS_ADVANCED