with cmake version 2.8.2.20100929-ge15e0
bad warning?

warning: The variable, 'CMAKE_C_STANDARD_LIBRARIES', given on the
command line, was not used within the build.



On a simple project with a single library,
-----
cmake_minimum_required(VERSION 2.8 )
project( test1 )
add_library( test SHARED test.c )
-----
and a blank test.c file for grins...


cmake -G "Visual Studio 10" .. --trace >err 2>&1

gives the warning twice.  This is a exerpt of the log around said
warning... probably doesn't help

e:/tools/unix/cmake/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake(28):
 IF(DEFINED CMAKE_${lang}_VERBOSE_FLAG )
e:/tools/unix/cmake/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake(31):
 TRY_COMPILE(CMAKE_DETERMINE_${lang}_ABI_COMPILED ${CMAKE_BINARY_DIR}
${src} CMAKE_FLAGS ${CMAKE_FLAGS} -DCMAKE_${lang}_STANDARD_LIBRARIES=
--no-warn-unused-cli OUTPUT_VARIABLE OUTPUT COPY_FILE ${BIN} )
warning: The variable, 'CMAKE_C_STANDARD_LIBRARIES', given on the
command line, was not used within the build.
e:/tools/unix/cmake/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake(44):
 IF(CMAKE_DETERMINE_${lang}_ABI_COMPILED )
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to