diff options
author | dan sinclair <dj2@everburning.com> | 2019-05-24 22:43:59 +0300 |
---|---|---|
committer | Steven Perron <stevenperron@google.com> | 2019-05-24 22:43:59 +0300 |
commit | 42abaa099aab6ce5a1e7735e1caba89bab3d0327 (patch) | |
tree | 73dfd3cbfed0a0fc1d485f9a53b421b6ad59826b /CMakeLists.txt | |
parent | 3b5ab540ca83533f25bdab9c18e066e582b4730a (diff) |
Remove MarkV and Stats code. (#2576)
* Remove MarkV and Stats code.
This Cl removes the MarkV and Stats code from SPIRV-Tools. This code was
unused and currently un-maintained.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index abe89d5b3..9f24e3863 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,6 +69,10 @@ if(NOT ${SKIP_SPIRV_TOOLS_INSTALL}) endif() option(SPIRV_BUILD_COMPRESSION "Build SPIR-V compressing codec" OFF) +if(SPIRV_BUILD_COMPRESSION) + message(FATAL_ERROR "SPIR-V compression codec has been removed from SPIR-V tools. " + "Please remove SPIRV_BUILD_COMPRESSION from your build options.") +endif(SPIRV_BUILD_COMPRESSION) option(SPIRV_WERROR "Enable error on warning" ON) if(("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR (("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") AND (NOT CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC"))) @@ -257,9 +261,6 @@ endif() set(SPIRV_LIBRARIES "-lSPIRV-Tools -lSPIRV-Tools-link -lSPIRV-Tools-opt") set(SPIRV_SHARED_LIBRARIES "-lSPIRV-Tools-shared") -if(SPIRV_BUILD_COMPRESSION) - set(SPIRV_LIBRARIES "${SPIRV_LIBRARIES} -lSPIRV-Tools-comp") -endif(SPIRV_BUILD_COMPRESSION) # Build pkg-config file # Use a first-class target so it's regenerated when relevant files are updated. |