summaryrefslogtreecommitdiff
path: root/Modules/Findosg_functions.cmake
diff options
context:
space:
mode:
authorChristian Pfeiffer <cpfeiffer@live.de>2017-11-20 16:21:49 +0100
committerChristian Pfeiffer <cpfeiffer@live.de>2017-11-20 16:21:49 +0100
commitf88ef9a9b853b4d85010d9281393b5e0fca058d7 (patch)
tree6e5f01b6924e3d0c0854712ee5a968863d36fa88 /Modules/Findosg_functions.cmake
parent85ae0ba796c26b9ba2f7025e267d3f438db388c6 (diff)
downloadcmake-f88ef9a9b853b4d85010d9281393b5e0fca058d7.tar.gz
Modules: Remove paths set as global Unix prefixes
This commit removes hardcoded paths that are already given in the platform files or in `UnixPath` on a global level.
Diffstat (limited to 'Modules/Findosg_functions.cmake')
-rw-r--r--Modules/Findosg_functions.cmake21
1 files changed, 0 insertions, 21 deletions
diff --git a/Modules/Findosg_functions.cmake b/Modules/Findosg_functions.cmake
index c81c4485ec..83d9844877 100644
--- a/Modules/Findosg_functions.cmake
+++ b/Modules/Findosg_functions.cmake
@@ -28,13 +28,6 @@ function(OSG_FIND_PATH module header)
ENV OSG_ROOT
${${module_uc}_DIR}
${OSG_DIR}
- PATH_SUFFIXES include
- PATHS
- /sw # Fink
- /opt/local # DarwinPorts
- /opt/csw # Blastwave
- /opt
- /usr/freeware
)
endfunction()
@@ -54,13 +47,6 @@ function(OSG_FIND_LIBRARY module library)
ENV OSG_ROOT
${${module_uc}_DIR}
${OSG_DIR}
- PATH_SUFFIXES lib
- PATHS
- /sw # Fink
- /opt/local # DarwinPorts
- /opt/csw # Blastwave
- /opt
- /usr/freeware
)
find_library(${module_uc}_LIBRARY_DEBUG
@@ -72,13 +58,6 @@ function(OSG_FIND_LIBRARY module library)
ENV OSG_ROOT
${${module_uc}_DIR}
${OSG_DIR}
- PATH_SUFFIXES lib
- PATHS
- /sw # Fink
- /opt/local # DarwinPorts
- /opt/csw # Blastwave
- /opt
- /usr/freeware
)
if(NOT ${module_uc}_LIBRARY_DEBUG)