mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 01:19:10 +08:00
14 lines
459 B
Diff
14 lines
459 B
Diff
|
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}
|