View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013401CMakeModulespublic2012-07-14 05:442016-06-10 14:31
Reportervayerx 
Assigned ToEric Wing 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 2.8.7 
Target VersionFixed in Version 
Summary0013401: FindSDL_sound.cmake produces warnings
DescriptionNo cmake_minimum_required command is present. A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file. The version specified may be lower
  if you wish to support older CMake versions for this project. For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:3 (ADD_EXECUTABLE):
  Policy CMP0003 should be set before this line. Add code such as

    if(COMMAND cmake_policy)
      cmake_policy(SET CMP0003 NEW)
    endif(COMMAND cmake_policy)

  as early as possible but after the most recent call to
  cmake_minimum_required or cmake_policy(VERSION). This warning appears
  because target "DetermineSoundLibs" links to some libraries for which the
  linker must search:

    -lpthread

  and other libraries with known full path:

    /lib64/libSDL_sound.so

  CMake is adding directories in the second list to the linker search path in
  case they are needed to find libraries from the first list (for backwards
  compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable
  or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for
  more information.
This warning is for project developers. Use -Wno-dev to suppress it.
Steps To Reproducefind_package(SDL_sound REQUIRED)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042088)
Kitware Robot (administrator)
2016-06-10 14:28

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
2012-07-14 05:44 vayerx New Issue
2012-07-16 09:01 Brad King Assigned To => Eric Wing
2012-07-16 09:01 Brad King Status new => assigned
2016-06-10 14:28 Kitware Robot Note Added: 0042088
2016-06-10 14:28 Kitware Robot Status assigned => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team