mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Remove SPIRV-Tools timers hack, cmake option is now upstream
This commit is contained in:
@@ -49,11 +49,8 @@ pushd glslang
|
||||
# Now build
|
||||
mkdir build
|
||||
pushd build
|
||||
|
||||
# Hack for now until there's a cmake option to turn this off.
|
||||
export CXXFLAGS="-USPIRV_TIMER_ENABLED"
|
||||
|
||||
cmake .. -DSPIRV_SKIP_TESTS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${OUT}"
|
||||
cmake .. -DSPIRV_ALLOW_TIMERS=OFF -DSPIRV_SKIP_TESTS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${OUT}"
|
||||
|
||||
if [ "${PLATFORM:0:3}" == "win" ]; then
|
||||
cmake --build . --config Release --target install
|
||||
|
||||
Reference in New Issue
Block a user