Export libobs cmake target, so external plugins can be built without ugly hacks

This commit is contained in:
BtbN
2014-05-05 18:57:30 +02:00
parent cfc3f2590e
commit 38594fff9e
6 changed files with 90 additions and 14 deletions

View File

@@ -0,0 +1,13 @@
# - Config file for the LibObs package
# It defines the following variables
# LIBOBS_INCLUDE_DIRS
# LIBOBS_LIBRARIES
set(LIBOBS_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")
if(NOT TARGET libobs)
include("${CMAKE_CURRENT_LIST_DIR}/LibObsTarget.cmake")
endif()
set(LIBOBS_LIBRARIES libobs)