[CMake] How to adjust LD_LIBRARY_PATH for an exectubale?

Alexander Neundorf a.neundorf-work at gmx.net
Wed Mar 25 14:24:07 EDT 2009


On Wednesday 25 March 2009, Denis Scherbakov wrote:
> Alex,
>
> In CMake I can check for
>
> WIN32
>   MINGW
>   CYGWIN
>   MSVC
> UNIX
> APPLE
>
> I don't know, how to distinguish different unix variations.

You can test the CMAKE_SYSTEM variable.

Alex


More information about the CMake mailing list