mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 18:10:37 +08:00
d1e9e31b11
Co-authored-by: Monica <v-liumonica@microsoft.com>
17 lines
514 B
Diff
17 lines
514 B
Diff
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
index 73fc68c..4a606d6 100644
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -90,6 +90,11 @@ IF (BUILD_SHARED_LIBS)
|
|
OUTPUT_NAME ${LIBRARY_DYN_NAME} CLEAN_DIRECT_OUTPUT 1
|
|
)
|
|
|
|
+ TARGET_INCLUDE_DIRECTORIES(libwildmidi INTERFACE
|
|
+ $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
|
|
+ $<INSTALL_INTERFACE:include>
|
|
+ )
|
|
+
|
|
IF (WIN32)
|
|
SET_TARGET_PROPERTIES(libwildmidi PROPERTIES
|
|
DEFINE_SYMBOL DLL_EXPORT
|