[CMake] CMake 2.2.1 and Free VC compiler
Julien Jomier
jjomier at cs.unc.edu
Sun Sep 25 15:21:22 EDT 2005
Bill,
This is strange. Comparing the CMakeCache files it seems that all the
default (required windows) libraries were included using CMake 2.0.6.
However with CMake 2.2.1 CMAKE_STANDARD_LIBRARIES is not defined.
Maybe there was a bug before and the libraries were included by default.
In any case, moving the SET(CMAKE_STANDARD_LIBRARIES ...) after the
ENDIF(CMAKE_USING_VC_FREE_TOOLS) does the trick.
let me know if you prefer a bug report,
Julien
William A. Hoffman wrote:
> Something odd is going on. The Modules/Platform/Windows-cl.cmake for 2.0.6 and 2.2.1 both
> look the same. The SET for those libraries is out side and IF(CMAKE_USING_VC_FREE_TOOLS).
>
> -Bill
>
>
>
>
> At 05:32 PM 9/24/2005, Julien Jomier wrote:
>
>>Hello,
>>
>>I just updated CMake from 2.0.6 to 2.2.1 (beta) and I'm getting some new link errors using the Free VC compiler (command line).
>>
>>It seems that the following libraries were included automatically in the previous version of CMake and not the 2.2.1 version: shell32, comdlg32 ole32 advapi32, gdi32 and user32.
>>
>>This is reported on the ITK dashboard:
>>http://www.itk.org/Testing/Sites/homer.caddlab.unc/Win32-FreeVC++/20050924-0100-Nightly/BuildError.html
>>
>>Is this a CMake issue or should we add these libraries in each CMakeLists.txt?
>>
>>Julien
>>_______________________________________________
>>CMake mailing list
>>CMake at cmake.org
>>http://www.cmake.org/mailman/listinfo/cmake
>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
>
More information about the CMake
mailing list