mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 16:05:31 +08:00
b565987e5c
* [libxlsxwriter] Add new port * [libxlsxwriter]Re-generate patch file and fix build error in linux.
15 lines
597 B
Diff
15 lines
597 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index e76ed46..32ffa04 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -211,6 +211,9 @@ target_sources(${PROJECT_NAME}
|
|
)
|
|
target_link_libraries(${PROJECT_NAME} LINK_PUBLIC ${ZLIB_LIBRARIES} ${MINIZIP_LIBRARIES})
|
|
target_compile_definitions(${PROJECT_NAME} PRIVATE ${LXW_PRIVATE_COMPILE_DEFINITIONS})
|
|
+if (WINDOWSSTORE)
|
|
+ target_compile_definitions(${PROJECT_NAME} PRIVATE -DIOWIN32_USING_WINRT_API)
|
|
+endif()
|
|
target_include_directories(${PROJECT_NAME}
|
|
PRIVATE ${LXW_PRIVATE_INCLUDE_DIRS}
|
|
PUBLIC include include/xlsxwriter
|