vcpkg/ports/fltk/include.patch

14 lines
434 B
Diff
Raw Normal View History

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