cmake: Move some cmake includes to ext

This commit is contained in:
Florent Castelli
2016-12-18 19:01:05 +01:00
parent 6852c602b9
commit 46fdc0f5f5
13 changed files with 62 additions and 50 deletions
+6
View File
@@ -57,3 +57,9 @@ mark_as_advanced(
SNAPPY_ROOT_DIR
SNAPPY_LIBRARIES
SNAPPY_INCLUDE_DIR)
add_library(Snappy::Snappy IMPORTED UNKNOWN GLOBAL)
set_target_properties(Snappy::Snappy PROPERTIES
IMPORTED_LOCATION "${SNAPPY_LIBRARIES}"
INTERFACE_INCLUDE_DIRECTORIES "${SNAPPY_INCLUDE_DIR}"
)