wut/tools/elf2rpl/CMakeLists.txt

17 lines
356 B
CMake
Raw Normal View History

2018-05-23 13:35:24 +02:00
project(elf2rpl)
file(GLOB_RECURSE SOURCE_FILES *.cpp)
file(GLOB_RECURSE HEADER_FILES *.h)
add_executable(elf2rpl
${SOURCE_FILES} ${HEADER_FILES})
target_include_directories(elf2rpl PRIVATE
2018-05-23 00:08:13 +02:00
${ZLIB_INCLUDE_DIR})
2018-05-23 13:35:24 +02:00
target_link_libraries(elf2rpl
2018-05-23 00:08:13 +02:00
fmt
${ZLIB_LIBRARIES})
2018-05-23 13:35:24 +02:00
install(TARGETS elf2rpl RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")