C/C++ API improvements, CMake include dir change

C API: add format functions
C++ API: add ABI stable wrapper RagePhotoA based on C API
This commit is contained in:
Syping 2021-11-04 13:21:18 +01:00
parent d8c99b9067
commit 67ed433f6b
6 changed files with 198 additions and 2 deletions

View file

@ -32,7 +32,6 @@ set(GTKVIEWER_SOURCES
)
if (TARGET ragephoto)
set(RAGEPHOTO_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/src)
set(RAGEPHOTO_LIBRARIES ragephoto)
else()
pkg_check_modules(RAGEPHOTO REQUIRED ragephoto)

View file

@ -37,7 +37,6 @@ set(QTVIEWER_SOURCES
)
if (TARGET ragephoto)
set(RAGEPHOTO_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/src)
set(RAGEPHOTO_LIBRARIES ragephoto)
else()
find_package(PkgConfig REQUIRED)