View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000873CMakepublic2004-05-25 16:532004-06-01 12:42
ReporterFilipe Sousa 
Assigned ToBill Hoffman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000873: FIND_LIBRARY Bug
DescriptionIf I have a directory with same name as used in FIND_LIBRARY, then FIND_LIBRARY finds that directory.

I have a CMakeLists.txt with the following contents:

FIND_LIBRARY(QX_LIB qx /usr/lib /usr/local/lib)
MESSAGE(STATUS "Found ${QX_LIB}")

And i have this and the directory qx, like this:

 CMakeLists.txt
 qx/
 
When I run "cmake ." in the same directory as CMakeLists.txt, FIND_LIBRARY finds the directory /home/phil/tmp/bug/qx that is empty.

-- Check for working C compiler: gcc
-- Check for working C compiler: gcc -- works
-- Check for working CXX compiler: c++
-- Check for working CXX compiler: c++ -- works
-- Found /home/phil/tmp/bug/qx
-- Configuring done
-- Generating done
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0001163)
Bill Hoffman (manager)
2004-06-01 12:42

fixed in cvs, should be in 2.0.2

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team