mirror of
https://github.com/JakeHillion/object-introspection.git
synced 2024-11-09 21:24:14 +00:00
Add CMake hook for defining custom build rules
This commit is contained in:
parent
f1d982f0a8
commit
425bb3fc24
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user