libragephoto 0.8.1 release
- CMakeLists.txt: update version to 0.8.1 - doc: depend on CMake >= 3.16 - ragephoto-gtkviewer: depend on CMake >= 3.16 and ragephoto >= 0.8 - ragephoto-qtviewer: depend on CMake >= 3.16 and ragephoto >= 0.8 - src/dotnet: update version to 0.8.1
This commit is contained in:
parent
b87fd1d8fd
commit
728a3dff6c
5 changed files with 17 additions and 18 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#[[**************************************************************************
|
||||
* libragephoto RAGE Photo Parser
|
||||
* Copyright (C) 2021-2022 Syping
|
||||
* Copyright (C) 2021-2025 Syping
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
* are permitted provided that the following conditions are met:
|
||||
|
|
@ -16,7 +16,8 @@
|
|||
* responsible for anything with use of the software, you are self responsible.
|
||||
****************************************************************************]]
|
||||
|
||||
cmake_minimum_required(VERSION 3.7)
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
cmake_policy(VERSION 3.16...3.28)
|
||||
project(ragephoto-gtkviewer LANGUAGES CXX)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
|
|
@ -35,7 +36,7 @@ if (TARGET ragephoto)
|
|||
set(RAGEPHOTO_LIBRARIES ragephoto)
|
||||
set(RAGEPHOTO_LIBRARY_DIRS ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})
|
||||
else()
|
||||
pkg_check_modules(RAGEPHOTO REQUIRED ragephoto>=0.6)
|
||||
pkg_check_modules(RAGEPHOTO REQUIRED ragephoto>=0.8)
|
||||
endif()
|
||||
|
||||
add_executable(ragephoto-gtkviewer WIN32 ${GTKVIEWER_SOURCES})
|
||||
|
|
@ -44,8 +45,6 @@ set_target_properties(ragephoto-gtkviewer PROPERTIES
|
|||
)
|
||||
target_compile_options(ragephoto-gtkviewer PRIVATE ${GTKMM_CFLAGS} ${RAGEPHOTO_CFLAGS})
|
||||
target_link_libraries(ragephoto-gtkviewer PRIVATE ${GTKMM_LIBRARIES} ${RAGEPHOTO_LIBRARIES})
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.13.0")
|
||||
target_link_directories(ragephoto-gtkviewer PRIVATE ${GTKMM_LIBRARY_DIRS} ${RAGEPHOTO_LIBRARY_DIRS})
|
||||
endif()
|
||||
target_link_directories(ragephoto-gtkviewer PRIVATE ${GTKMM_LIBRARY_DIRS} ${RAGEPHOTO_LIBRARY_DIRS})
|
||||
target_include_directories(ragephoto-gtkviewer PRIVATE ${GTKMM_INCLUDE_DIRS} ${RAGEPHOTO_INCLUDE_DIRS})
|
||||
install(TARGETS ragephoto-gtkviewer DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue