cmake: export CRUFT_VK_FOUND variable
This commit is contained in:
parent
0f7b584f62
commit
1a2a81098e
@ -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
2
cmake
@ -1 +1 @@
|
|||||||
Subproject commit 2d9f884cbc3d2312582fd8009712264855e3f0b7
|
Subproject commit 7df08f681817fec591dd77f7be23eff5c6778aaa
|
Loading…
Reference in New Issue
Block a user