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:
parent
4c5864d8f9
commit
1fb034ce3a
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user