CMake: Make all target_include_directories private

There is no need to expose them to external projects.
This commit is contained in:
Maarten Bent
2022-04-10 20:39:17 +02:00
parent 87d6763209
commit de495c19a3
10 changed files with 34 additions and 46 deletions

View File

@@ -18,7 +18,7 @@ endif()
wx_add_library(wxhtml ${HTML_FILES})
if(wxUSE_LIBMSPACK)
wx_lib_include_directories(wxhtml PRIVATE ${MSPACK_INCLUDE_DIRS})
wx_lib_include_directories(wxhtml ${MSPACK_INCLUDE_DIRS})
wx_lib_link_libraries(wxhtml PRIVATE ${MSPACK_LIBRARIES})
endif()