mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Enable the qt backend test on windows
The ```configuration``` is required by the visual studio generator to determine whether to use a Debug or a Release setup (or a user customized one). It's required by whatever uses that generator rather then just the GUI code. Add instructions for the Visual Studio Project File generator to the README and enable the test on Windows.
This commit is contained in:
@ -21,7 +21,7 @@ target_include_directories(${PROJECT_NAME} PUBLIC "${CMAKE_SOURCE_DIR}/backend")
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} zint Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Gui)
|
||||
|
||||
if(ZINT_TEST AND NOT WIN32) # Fails with "Test not available without configuration" on Windows so skip
|
||||
if(ZINT_TEST)
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user