summaryrefslogtreecommitdiff
path: root/image/CMakeLists.txt
blob: cbee674966bac55965fcfbf93cc9ad8b9fc70750 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
find_package(Boost REQUIRED COMPONENTS program_options)
include_directories(${Boost_INCLUDE_DIR})

add_subdirectory(backends)

set(IMG_SRCS
        creator.cc
        ${BACKEND_SRCS}
)
add_executable(hscript-image ${IMG_SRCS})
target_link_libraries(hscript-image hscript ${Boost_LIBRARIES})
install(TARGETS hscript-image DESTINATION bin)