View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015633CMakeCMakepublic2015-06-26 16:412016-06-10 14:31
ReporterGustavo Melno 
Assigned ToKitware Robot 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionmoved 
PlatformX86OSUbuntuOS Version14.04
Product VersionCMake 3.2.1 
Target VersionFixed in Version 
Summary0015633: Library not found when invoke find_library again
DescriptionI do a library search for my project:

find_library(
  ICU_LIBRARY
  NAMES icuuc cygicuuc cygicuuc32
  DOC "Libraries to link against for the common parts of ICU")

if(ICU_INCLUDE_DIR AND ICU_LIBRARY)
  set(ICU_FOUND 1)
else()
  set(ICU_FOUND)
endif()

This works for the first time but another call to cmake or a change in any CMakeLists.txt file will unset ICU_FOUND.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0038994)
Brad King (manager)
2015-06-29 08:36

Please message() out the actual value of ICU_INCLUDE and ICU_LIBRARY in each case to see why they may be considered not found.
(0042800)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2015-06-26 16:41 Gustavo Melno New Issue
2015-06-29 08:36 Brad King Note Added: 0038994
2016-06-10 14:29 Kitware Robot Note Added: 0042800
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team