diff options
author | Brad King <brad.king@kitware.com> | 2008-01-15 21:20:11 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-15 21:20:11 -0500 |
commit | 52718dbbf2539335e8a70b80497ad99b615cbe98 (patch) | |
tree | 423c999dd7c84e2ad452a360acc91b6f881aa664 /Modules/FindProducer.cmake | |
parent | 80c2be45e0b1701406e3739bb8a0a8fcad949f69 (diff) | |
download | cmake-52718dbbf2539335e8a70b80497ad99b615cbe98.tar.gz |
BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically.
Diffstat (limited to 'Modules/FindProducer.cmake')
-rw-r--r-- | Modules/FindProducer.cmake | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Modules/FindProducer.cmake b/Modules/FindProducer.cmake index 0fd5363019..576eae240f 100644 --- a/Modules/FindProducer.cmake +++ b/Modules/FindProducer.cmake @@ -37,11 +37,7 @@ FIND_PATH(PRODUCER_INCLUDE_DIR Producer/CameraGroup NO_DEFAULT_PATH PATH_SUFFIXES include ) -FIND_PATH(PRODUCER_INCLUDE_DIR Producer/CameraGroup - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES include -) + FIND_PATH(PRODUCER_INCLUDE_DIR Producer/CameraGroup PATHS ~/Library/Frameworks @@ -65,12 +61,7 @@ FIND_LIBRARY(PRODUCER_LIBRARY NO_DEFAULT_PATH PATH_SUFFIXES lib64 lib ) -FIND_LIBRARY(PRODUCER_LIBRARY - NAMES Producer - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES lib64 lib -) + FIND_LIBRARY(PRODUCER_LIBRARY NAMES Producer PATHS |