rikyoz / bit7z

A C++ static library offering a clean and simple interface to the 7-zip shared libraries.
https://rikyoz.github.io/bit7z
Mozilla Public License 2.0
623 stars 113 forks source link

Fixed CMake target_include_directories scope #60

Closed evilenzo closed 2 years ago

evilenzo commented 2 years ago

Fixed CMake target_include_directories

Description

Divided public and private include directories for target

Motivation and Context

Issue 59

How Has This Been Tested?

Included in my project with this simple CMakeLists.txt

cmake_minimum_required(VERSION 3.1)
project(uses_bit7z LANGUAGES CXX)

add_subdirectory(bit7z)
add_executable(uses_bit7z main.cpp)
target_link_libraries(uses_bit7z bit7z64)

Types of changes

Checklist: