We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 132bb05 commit 9b27e12Copy full SHA for 9b27e12
src/CMakeLists.txt
@@ -55,6 +55,10 @@ foreach(TARGET ${AV_TARGETS})
55
target_link_libraries(${TARGET} PRIVATE ws2_32)
56
endif()
57
58
+ if(MSVC AND TYPE STREQUAL "SHARED")
59
+ set_target_properties(${TARGET} PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
60
+ endif()
61
+
62
add_library(${AV_NAMESPACE}::${TARGET} ALIAS ${TARGET})
63
endforeach()
64
@@ -146,7 +150,7 @@ if (AVCPP_NOT_SUBPROJECT)
146
150
)
147
151
148
152
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libavcpp.pc"
149
- DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig")
153
+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
154
155
156
0 commit comments