]> git.xonotic.org Git - xonotic/netradiant.git/blob - plugins/image/CMakeLists.txt
CMake: really fix installing gamepacks
[xonotic/netradiant.git] / plugins / image / CMakeLists.txt
1 radiant_plugin(image
2         bmp.cpp bmp.h
3         dds.cpp dds.h
4         image.cpp image.h
5         jpeg.cpp jpeg.h
6         ktx.cpp ktx.h
7         pcx.cpp pcx.h
8         tga.cpp tga.h
9         )
10
11 find_package(JPEG REQUIRED)
12 target_include_directories(image PRIVATE ${JPEG_INCLUDE_DIR})
13 target_link_libraries(image PRIVATE ddslib etclib ${JPEG_LIBRARIES})