[CMake] CMAKE_SYSTEM not available

Tyler Roscoe tyler at cryptio.net
Tue Sep 29 12:35:47 EDT 2009


On Tue, Sep 29, 2009 at 06:16:23PM +0200, Dieter Oberkofler wrote:
> I seem unable to get/use the CMAKE_SYSTEM variable using CMake 2.6.4 on the
> Windows and Apple platform.
> MESSAGE("CMAKE_SYSTEM=(" ${CMAKE_SYSTEM} ")") just shows an empty string
> similar as does also CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_VERSION and
> CMAKE_SYSTEM_PROCESSOR.

Maybe a bad install? Try cmake --trace and see if that reveals any
errors/failures.

tyler


More information about the CMake mailing list