diff --git a/CMakeLists.txt b/CMakeLists.txt index ccf0b67..f58bffd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,6 @@ project(AtomsGaffer) option( USE_GAFFER_DEPENDENCIES "Turn this off you're building against your own dependencies (eg boost, python, tbb, exr, cortex) rather than the versions included with Gaffer" ON ) option( USE_ATOMS_PROCEDURAL "Turn this off you plan to load AtomsGaffer in maya or another environment that requires a full atoms license" ON ) -set(CMAKE_CXX_STANDARD 11) set(CMAKE_VERBOSE_MAKEFILE ON) if(ATOMS_MAYA_ROOT) diff --git a/README.md b/README.md index 69e5d87..027de56 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ setenv ATOMS_ROOT setenv ATOMSGAFFER_INSTALL_PREFIX cd atomsGaffer -cmake -DGAFFER_ROOT=$GAFFER_ROOT -DATOMS_ROOT=$ATOMS_ROOT -DCMAKE_INSTALL_PREFIX=$ATOMSGAFFER_INSTALL_PREFIX . +cmake -DGAFFER_ROOT=$GAFFER_ROOT -DATOMS_ROOT=$ATOMS_ROOT -DCMAKE_CXX_FLAGS='-std=c++11' -DCMAKE_INSTALL_PREFIX=$ATOMSGAFFER_INSTALL_PREFIX . make install -j ) ```