Check for ENABLE_SPVREMAPPER flag in CMakeList files.
authorDan Sinclair <dsinclair@google.com>
Thu, 21 Nov 2019 15:33:32 +0000 (10:33 -0500)
committerDan Sinclair <dsinclair@google.com>
Thu, 21 Nov 2019 15:33:32 +0000 (10:33 -0500)
commit04567eb2320367f35193c7662cd1b83fa26ea9c6
treeab13d580561d91668ac4b00243959f8e962f05e2
parentf4d4668529f1dad0e475295456b601353fe7cf33
Check for ENABLE_SPVREMAPPER flag in CMakeList files.

There is a flag to disable the SPVRemapper during the GLSLang build.
That flag is check in some, but not all spots so if you try to build
with SPVRemapper disabled you get CMake errors and compile errors.

This CL fixs up the build so building with -DENABLE_SPVREMAPPER=0 will
complete correclty.
SPIRV/CMakeLists.txt
StandAlone/CMakeLists.txt
gtests/CMakeLists.txt