vcpkg/ports/fltk/include.patch
Jack·Boos·Yu eb891c23ef
[fltk] Update to 1.3.6 rc1 and fix osx build (#17586)
* [fltk] Update to 1.3.6 rc1

* [fltk] Fix osx build failure

* update patch

* update version record
2021-05-21 01:16:33 -07:00

14 lines
434 B
Diff

diff --git a/CMake/fl_add_library.cmake b/CMake/fl_add_library.cmake
index 29baa95..6fa2fc5 100644
--- a/CMake/fl_add_library.cmake
+++ b/CMake/fl_add_library.cmake
@@ -36,6 +36,8 @@ macro (FL_ADD_LIBRARY LIBNAME LIBTYPE LIBFILES)
endif (MSVC)
add_library(${TARGET_NAME} ${LIBTYPE} ${LIBFILES})
+
+ target_include_directories(${TARGET_NAME} PUBLIC $<INSTALL_INTERFACE:include>)
# target properties for all libraries