@ -29,7 +29,7 @@ option(ENABLE_VULKAN "Enables Vulkan backend" ON)
option ( USE_DISCORD_PRESENCE "Enables Discord Rich Presence" OFF )
option ( USE_DISCORD_PRESENCE "Enables Discord Rich Presence" OFF )
if ( NOT EXISTS ${ PROJECT_SOURCE_DIR } /.git/hooks/pre-commit )
if ( EXISTS ${ PROJECT_SOURCE_DIR } /hooks/pre-commit AND NOT EXISTS ${ PROJECT_SOURCE_DIR } /.git/hooks/pre-commit )
message ( STATUS "Copying pre-commit hook" )
message ( STATUS "Copying pre-commit hook" )
file ( COPY hooks/pre-commit
file ( COPY hooks/pre-commit
D E S T I N A T I O N $ { P R O J E C T _ S O U R C E _ D I R } / . g i t / h o o k s )
D E S T I N A T I O N $ { P R O J E C T _ S O U R C E _ D I R } / . g i t / h o o k s )
@ -49,7 +49,10 @@ function(check_submodules_present)
endif ( )
endif ( )
endforeach ( )
endforeach ( )
endfunction ( )
endfunction ( )
check_submodules_present ( )
if ( EXISTS ${ PROJECT_SOURCE_DIR } /.gitmodules )
check_submodules_present ( )
endif ( )
configure_file ( ${ PROJECT_SOURCE_DIR } /dist/compatibility_list/compatibility_list.qrc
configure_file ( ${ PROJECT_SOURCE_DIR } /dist/compatibility_list/compatibility_list.qrc
$ { P R O J E C T _ B I N A R Y _ D I R } / d i s t / c o m p a t i b i l i t y _ l i s t / c o m p a t i b i l i t y _ l i s t . q r c
$ { P R O J E C T _ B I N A R Y _ D I R } / d i s t / c o m p a t i b i l i t y _ l i s t / c o m p a t i b i l i t y _ l i s t . q r c