cmake: export CRUFT_VK_FOUND variable

This commit is contained in:
Danny Robson 2017-01-23 21:49:26 +11:00
parent 0f7b584f62
commit 1a2a81098e
2 changed files with 7 additions and 1 deletions

View File

@ -90,6 +90,12 @@ list (APPEND sources
##----------------------------------------------------------------------------- ##-----------------------------------------------------------------------------
add_library (cruft-vk STATIC ${sources}) add_library (cruft-vk STATIC ${sources})
###############################################################################
get_directory_property (HAS_PARENT PARENT_DIRECTORY)
if (HAS_PARENT)
set (CRUFT_VK_FOUND 1 PARENT_SCOPE)
endif ()
############################################################################### ###############################################################################
configure_file(libcruft-vk-system.pc.in libcruft-vk.pc) configure_file(libcruft-vk-system.pc.in libcruft-vk.pc)

2
cmake

@ -1 +1 @@
Subproject commit 2d9f884cbc3d2312582fd8009712264855e3f0b7 Subproject commit 7df08f681817fec591dd77f7be23eff5c6778aaa