Added libpng++ to dependencies
This commit is contained in:
parent
b358d1b4ca
commit
8acd0fe62e
|
@ -130,6 +130,7 @@ find_package(Doxygen)
|
||||||
find_package(Volk REQUIRED)
|
find_package(Volk REQUIRED)
|
||||||
find_package(OggVorbis REQUIRED)
|
find_package(OggVorbis REQUIRED)
|
||||||
find_package(PNG REQUIRED)
|
find_package(PNG REQUIRED)
|
||||||
|
find_package(png++ REQUIRED)
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# Include or not into the module blocks for debugging
|
# Include or not into the module blocks for debugging
|
||||||
|
|
|
@ -0,0 +1,61 @@
|
||||||
|
# - Try to find png++
|
||||||
|
#
|
||||||
|
# The following variables are optionally searched for defaults
|
||||||
|
# png++_ROOT_DIR: Base directory where all GLOG components are found
|
||||||
|
#
|
||||||
|
# The following are set after configuration is done:
|
||||||
|
# png++_FOUND
|
||||||
|
# png++_INCLUDE_DIRS
|
||||||
|
# png++_LIBRARIES
|
||||||
|
|
||||||
|
find_package(PNG REQUIRED)
|
||||||
|
|
||||||
|
include(FindPackageHandleStandardArgs)
|
||||||
|
|
||||||
|
set(png++_ROOT_DIR "" CACHE PATH "Folder contains png++")
|
||||||
|
|
||||||
|
find_path(png++_INCLUDE_DIR
|
||||||
|
NAMES
|
||||||
|
png++/color.hpp
|
||||||
|
png++/config.hpp
|
||||||
|
png++/consumer.hpp
|
||||||
|
png++/convert_color_space.hpp
|
||||||
|
png++/end_info.hpp
|
||||||
|
png++/error.hpp
|
||||||
|
png++/ga_pixel.hpp
|
||||||
|
png++/generator.hpp
|
||||||
|
png++/gray_pixel.hpp
|
||||||
|
png++/image.hpp
|
||||||
|
png++/image_info.hpp
|
||||||
|
png++/index_pixel.hpp
|
||||||
|
png++/info.hpp
|
||||||
|
png++/info_base.hpp
|
||||||
|
png++/io_base.hpp
|
||||||
|
png++/packed_pixel.hpp
|
||||||
|
png++/palette.hpp
|
||||||
|
png++/pixel_buffer.hpp
|
||||||
|
png++/pixel_traits.hpp
|
||||||
|
png++/png.hpp
|
||||||
|
png++/reader.hpp
|
||||||
|
png++/require_color_space.hpp
|
||||||
|
png++/rgb_pixel.hpp
|
||||||
|
png++/rgba_pixel.hpp
|
||||||
|
png++/streaming_base.hpp
|
||||||
|
png++/tRNS.hpp
|
||||||
|
png++/types.hpp
|
||||||
|
png++/writer.hpp
|
||||||
|
PATHS
|
||||||
|
${png++_ROOT_DIR}
|
||||||
|
PATH_SUFFIXES
|
||||||
|
src)
|
||||||
|
|
||||||
|
set(png++_INCLUDE_DIRS ${png++_INCLUDE_DIR} ${PNG_INCLUDE_DIRS})
|
||||||
|
set(png++_LIBRARIES ${PNG_LIBRARIES})
|
||||||
|
|
||||||
|
find_package_handle_standard_args(png++ DEFAULT_MSG
|
||||||
|
png++_INCLUDE_DIR)
|
||||||
|
|
||||||
|
if(png++_FOUND)
|
||||||
|
set(png++_INCLUDE_DIRS ${png++_INCLUDE_DIR})
|
||||||
|
set(png++_LIBRARIES ${png++_LIBRARY})
|
||||||
|
endif()
|
|
@ -28,6 +28,7 @@ include_directories(
|
||||||
${VORBIS_INCLUDE_DIR}
|
${VORBIS_INCLUDE_DIR}
|
||||||
${OGG_INCLUDE_DIR}
|
${OGG_INCLUDE_DIR}
|
||||||
${PNG_INCLUDE_DIR}
|
${PNG_INCLUDE_DIR}
|
||||||
|
${png++_INCLUDE_DIRS}
|
||||||
)
|
)
|
||||||
|
|
||||||
link_directories(${Boost_LIBRARY_DIRS})
|
link_directories(${Boost_LIBRARY_DIRS})
|
||||||
|
@ -85,6 +86,7 @@ target_link_libraries(gnuradio-satnogs
|
||||||
${VOLK_LIBRARIES}
|
${VOLK_LIBRARIES}
|
||||||
${OGGVORBIS_LIBRARIES}
|
${OGGVORBIS_LIBRARIES}
|
||||||
${PNG_LIBRARIES}
|
${PNG_LIBRARIES}
|
||||||
|
${png++_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
set_target_properties(gnuradio-satnogs PROPERTIES DEFINE_SYMBOL "gnuradio_satnogs_EXPORTS")
|
set_target_properties(gnuradio-satnogs PROPERTIES DEFINE_SYMBOL "gnuradio_satnogs_EXPORTS")
|
||||||
|
|
Loading…
Reference in New Issue