vcpkg/ports/fltk/include.patch

14 lines
456 B
Diff
Raw Normal View History

diff --git a/CMake/fl_add_library.cmake b/CMake/fl_add_library.cmake
2024-01-04 09:35:11 +08:00
index 29baa95..7e3490b 100644
--- a/CMake/fl_add_library.cmake
+++ b/CMake/fl_add_library.cmake
2024-01-04 09:35:11 +08:00
@@ -37,6 +37,8 @@ macro (FL_ADD_LIBRARY LIBNAME LIBTYPE LIBFILES)
add_library(${TARGET_NAME} ${LIBTYPE} ${LIBFILES})
2024-01-04 09:35:11 +08:00
+ target_include_directories(${TARGET_NAME} PUBLIC $<INSTALL_INTERFACE:include>)
+
# target properties for all libraries
2024-01-04 09:35:11 +08:00
set_target_properties(${TARGET_NAME}