Fix thumbnailer compilation
This commit is contained in:
@@ -6,9 +6,9 @@ if(BUILD_THUMBNAILER)
|
|||||||
Dll.cpp
|
Dll.cpp
|
||||||
loadimage.cpp
|
loadimage.cpp
|
||||||
TenmonThumbnailProvider.cpp
|
TenmonThumbnailProvider.cpp
|
||||||
../rawimage.h
|
../src/rawimage.h
|
||||||
../rawimage.cpp
|
../src/rawimage.cpp
|
||||||
../rawimage_sse.cpp)
|
../src/rawimage_sse.cpp)
|
||||||
set_target_properties(tenmonthumbnailer PROPERTIES PREFIX "")
|
set_target_properties(tenmonthumbnailer PROPERTIES PREFIX "")
|
||||||
|
|
||||||
target_compile_definitions(tenmonthumbnailer PRIVATE NO_QT)
|
target_compile_definitions(tenmonthumbnailer PRIVATE NO_QT)
|
||||||
@@ -19,8 +19,8 @@ if(BUILD_THUMBNAILER)
|
|||||||
qt_add_executable(tenmonthumbnailer
|
qt_add_executable(tenmonthumbnailer
|
||||||
main.cpp
|
main.cpp
|
||||||
loadimage.cpp
|
loadimage.cpp
|
||||||
../rawimage.cpp
|
../src/rawimage.cpp
|
||||||
../rawimage_sse.cpp)
|
../src/rawimage_sse.cpp)
|
||||||
|
|
||||||
target_link_libraries(tenmonthumbnailer PRIVATE ${FITS_LIB} XISF)
|
target_link_libraries(tenmonthumbnailer PRIVATE ${FITS_LIB} XISF)
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#include <thumbcache.h> // For IThumbnailProvider.
|
#include <thumbcache.h> // For IThumbnailProvider.
|
||||||
#include <new>
|
#include <new>
|
||||||
#include "libxisf.h"
|
#include "libxisf.h"
|
||||||
#include "../rawimage.h"
|
#include "../src/rawimage.h"
|
||||||
|
|
||||||
bool loadXISF(const LibXISF::ByteArray &data, std::shared_ptr<RawImage> &rawImage);
|
bool loadXISF(const LibXISF::ByteArray &data, std::shared_ptr<RawImage> &rawImage);
|
||||||
bool loadFITS(const LibXISF::ByteArray &data, std::shared_ptr<RawImage> &rawImage);
|
bool loadFITS(const LibXISF::ByteArray &data, std::shared_ptr<RawImage> &rawImage);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#include "libxisf.h"
|
#include "libxisf.h"
|
||||||
#include "../rawimage.h"
|
#include "../src/rawimage.h"
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user