protot/3rdparty/bimg/CMakeLists.txt

28 lines
548 B
CMake
Raw Normal View History

PROJECT (BIMG CXX)
FIND_PACKAGE (OpenGL)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
ADD_DEFINITIONS ("-D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS")
INCLUDE_DIRECTORIES (
${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/../bimg/include
${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/
${OPENGL_INCLUDE_DIR}
)
SET (BIMG_SOURCES
# ../bx/src/amalgamated.cpp
# src/image_encode.cpp
src/image_decode.cpp
src/image.cpp
2018-02-03 17:39:28 +01:00
src/image_gnf.cpp
)
ADD_LIBRARY ( bimg SHARED ${BIMG_SOURCES} )
TARGET_LINK_LIBRARIES (bimg
)