owner1s-Mac:cmakefiles owner1$ cmake export MACOSX_DEPLOYMENT_TARGET=10.6 .. -- The C compiler identification is GNU 4.2.1 -- The CXX compiler identification is GNU 4.2.1 -- Checking whether C compiler has -isysroot -- Checking whether C compiler has -isysroot - yes -- Checking whether C compiler supports OSX deployment target flag -- Checking whether C compiler supports OSX deployment target flag - yes -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Checking whether CXX compiler has -isysroot -- Checking whether CXX compiler has -isysroot - yes -- Checking whether CXX compiler supports OSX deployment target flag -- Checking whether CXX compiler supports OSX deployment target flag - yes -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- MACOSX_DEPLOYMENT_TARGET: CMake Error at cmake/Platform/Apple.cmake:15 (message): MACOSX_DEPLOYMENT_TARGET environment variable not set. Set this like so: 'export MACOSX_DEPLOYMENT_TARGET=10.6' Call Stack (most recent call first): CMakeLists.txt:24 (include) -- Configuring incomplete, errors occurred! See also "/Users/owner1/bf019/cmakefiles/CMakeFiles/CMakeOutput.log".