fix
This commit is contained in:
parent
9fc590fdff
commit
bae610df91
@ -50,10 +50,3 @@ set(THREADS_PREFER_PTHREAD_FLAG ON)
|
|||||||
# Use LLD on linux
|
# Use LLD on linux
|
||||||
#add_link_options("-fuse-ld=lld" "-rtlib=compiler-rt" "-unwindlib=libunwind" "-Wl,--as-needed")
|
#add_link_options("-fuse-ld=lld" "-rtlib=compiler-rt" "-unwindlib=libunwind" "-Wl,--as-needed")
|
||||||
add_link_options("-fuse-ld=lld")
|
add_link_options("-fuse-ld=lld")
|
||||||
|
|
||||||
# ccache
|
|
||||||
find_program(CCACHE_FOUND ccache)
|
|
||||||
if(CCACHE_FOUND)
|
|
||||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
|
|
||||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) # Less useful to do it for linking, see edit2
|
|
||||||
endif(CCACHE_FOUND)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user