Add CMake hook for defining custom build rules

This commit is contained in:
Alastair Robertson 2023-01-25 09:51:46 -08:00 committed by Alastair Robertson
parent f1d982f0a8
commit 425bb3fc24

View File

@ -350,3 +350,8 @@ target_precompile_headers(oicore
foreach(TARGET oil oip oid oitb)
target_precompile_headers(${TARGET} REUSE_FROM oicore)
endforeach()
# Add a hook for custom CMake rules
if (DEFINED ENV{CMAKE_HOOK})
include($ENV{CMAKE_HOOK})
endif()