efficiency improvements and CMake WIN32 flags
This commit is contained in:
parent
b5b96a841c
commit
1d48cd0fbd
5 changed files with 11 additions and 11 deletions
|
@ -44,7 +44,7 @@ else()
|
|||
pkg_check_modules(RAGEPHOTO REQUIRED ragephoto)
|
||||
endif()
|
||||
|
||||
add_executable(ragephoto-qtviewer ${QTVIEWER_SOURCES})
|
||||
add_executable(ragephoto-qtviewer WIN32 ${QTVIEWER_SOURCES})
|
||||
target_compile_options(ragephoto-qtviewer PRIVATE ${RAGEPHOTO_CFLAGS})
|
||||
target_link_libraries(ragephoto-qtviewer PRIVATE Qt${QT_VERSION_MAJOR}::Widgets ${RAGEPHOTO_LIBRARIES})
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.13.0")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue