2013-07-26 22:38:34 +02:00
|
|
|
|
|
|
|
# Define the current source locations
|
|
|
|
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include)
|
|
|
|
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc)
|
|
|
|
|
|
|
|
add_library(bob2hyperion SHARED
|
|
|
|
bob2hyperion.cpp)
|
|
|
|
|
|
|
|
target_link_libraries(bob2hyperion
|
|
|
|
hyperion
|
|
|
|
hyperion-utils)
|
|
|
|
|
2013-08-02 11:54:09 +02:00
|
|
|
# Find the libPNG
|
|
|
|
find_package(PNG REQUIRED QUIET)
|
|
|
|
|
|
|
|
# Add additional includes dirs
|
|
|
|
include_directories(${PNG_INCLUDE_DIR})
|
|
|
|
|
|
|
|
add_library(bob2hyperion-png SHARED
|
|
|
|
hyperion-png.cpp)
|
|
|
|
|
|
|
|
target_link_libraries(bob2hyperion-png
|
|
|
|
hyperion-png)
|
|
|
|
|
2013-07-26 22:38:34 +02:00
|
|
|
add_subdirectory(hyperion)
|
|
|
|
add_subdirectory(hyperionpng)
|
|
|
|
add_subdirectory(utils)
|