From 02d04663cb26b6cfca78849387be8a4298548156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on?= Date: Wed, 19 Jan 2022 15:15:00 +0100 Subject: Fix CMake targets include direrctories --- build/cmake/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt index 0c15ab5..e92115b 100644 --- a/build/cmake/CMakeLists.txt +++ b/build/cmake/CMakeLists.txt @@ -104,7 +104,7 @@ set(LZ4_LIBRARIES_BUILT) if(BUILD_SHARED_LIBS) add_library(lz4_shared SHARED ${LZ4_SOURCES}) target_include_directories(lz4_shared - PUBLIC $ + PUBLIC $ INTERFACE $) set_target_properties(lz4_shared PROPERTIES OUTPUT_NAME lz4 @@ -123,7 +123,7 @@ if(BUILD_STATIC_LIBS) endif() add_library(lz4_static STATIC ${LZ4_SOURCES}) target_include_directories(lz4_static - PUBLIC $ + PUBLIC $ INTERFACE $) set_target_properties(lz4_static PROPERTIES OUTPUT_NAME ${STATIC_LIB_NAME} -- cgit v0.12