diff options
| author | ras0219 <533828+ras0219@users.noreply.github.com> | 2020-07-30 22:41:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-30 22:41:46 -0700 |
| commit | 7938ab75c157f221bf1ee6b3df2ed1b27728744c (patch) | |
| tree | b7782f6d70350dcb59cbedd79347841735c5ebfd /ports/fltk/include.patch | |
| parent | 32b7ad04ea83ec0f59316e0ebe00b4a8c44c925a (diff) | |
| download | vcpkg-7938ab75c157f221bf1ee6b3df2ed1b27728744c.tar.gz vcpkg-7938ab75c157f221bf1ee6b3df2ed1b27728744c.zip | |
[fltk] Force static library due to global variables. Fix CMake Targets. (#12273)
* [fltk] Force static library due to global variables. Fix CMake Targets.
* [fltk] Add include directory to exported targets
* [fltk] Update ports/fltk/CONTROL
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
* Update ports/fltk/portfile.cmake
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
Diffstat (limited to 'ports/fltk/include.patch')
| -rw-r--r-- | ports/fltk/include.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/fltk/include.patch b/ports/fltk/include.patch new file mode 100644 index 000000000..27207fdbd --- /dev/null +++ b/ports/fltk/include.patch @@ -0,0 +1,13 @@ +diff --git a/CMake/macros.cmake b/CMake/macros.cmake
+index ca03371..bde2c7e 100644
+--- a/CMake/macros.cmake
++++ b/CMake/macros.cmake
+@@ -36,6 +36,8 @@ macro(FL_ADD_LIBRARY LIBNAME LIBTYPE LIBFILES)
+
+ add_library(${LIBRARY_NAME} ${LIBTYPE} ${LIBFILES})
+
++ target_include_directories(${LIBRARY_NAME} PUBLIC $<INSTALL_INTERFACE:include>)
++
+ set_target_properties(${LIBRARY_NAME}
+ PROPERTIES
+ OUTPUT_NAME ${LIBRARY_NAME}
|
