pineapple-src/externals/vcpkg/ports/fltk/include.patch
2022-07-23 03:01:36 +02:00

13 lines
434 B
Diff
Executable file

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