Add support for Microsoft Visual Studio buildchain
* Use C++17 when using MSVC compiler * Remove unneeded header files and macros * Removed unnecessary Yubikey cmake file * Enhance release tool * Updated INSTALL.md
This commit is contained in:
@@ -17,6 +17,8 @@ set(qrcode_SOURCES
|
||||
QrCode.cpp
|
||||
)
|
||||
|
||||
find_package(QREncode REQUIRED)
|
||||
|
||||
add_library(qrcode STATIC ${qrcode_SOURCES})
|
||||
target_link_libraries(qrcode Qt5::Core Qt5::Widgets Qt5::Svg ${QRENCODE_LIBRARY})
|
||||
target_include_directories(qrcode PRIVATE ${QRENCODE_INCLUDE_DIR})
|
||||
target_link_libraries(qrcode PUBLIC Qt5::Core Qt5::Widgets Qt5::Svg ${QRENCODE_LIBRARY})
|
||||
|
||||
Reference in New Issue
Block a user