I have both HOSTNAME and USER defined as environment variables (Linux Ubuntu) echo $USER pvicente echo $HOSTNAME glace I get the variables in CMakeLists.txt using message("-- USER environment variable is set to: " $ENV{USER}) message("-- HOSTNAME environment variable is set to: " $...
Optional:CMake 3.12.4 To get started: > git clone https://github.com/Microsoft/vcpkg.git > cd vcpkg PS> .\bootstrap-vcpkg.bat Linux:~/$ ./bootstrap-vcpkg.sh Then, to hook up user-wideintegration, run (note: requires admin on first use) ...