1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 07:39:42 +02:00

CMake: do not use precompiled headers with sccache

Reference-to: https://github.com/tenacityteam/tenacity/pull/437

Signed-off-by: Be <be@mixxx.org>
This commit is contained in:
Be 2021-08-08 03:37:59 -07:00 committed by GitHub
parent 4c5864d8f9
commit 1fb034ce3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1346,7 +1346,7 @@ target_link_options( ${TARGET} PRIVATE ${LDFLAGS} )
target_link_libraries( ${TARGET} ${LIBRARIES} ) target_link_libraries( ${TARGET} ${LIBRARIES} )
target_link_libraries( ${TARGET} PUBLIC ${AUDACITY_LIBRARIES} ) target_link_libraries( ${TARGET} PUBLIC ${AUDACITY_LIBRARIES} )
if( CMAKE_VERSION VERSION_GREATER_EQUAL "3.16" AND NOT CCACHE_PROGRAM ) if( CMAKE_VERSION VERSION_GREATER_EQUAL "3.16" AND NOT CCACHE_PROGRAM AND NOT SCCACHE_PROGRAM )
if( ${_OPT}use_pch ) if( ${_OPT}use_pch )
message( STATUS "Using precompiled headers" ) message( STATUS "Using precompiled headers" )
target_precompile_headers( ${TARGET} PRIVATE target_precompile_headers( ${TARGET} PRIVATE