Skip to content

Commit

Permalink
libYaft: terminfo on APPLE
Browse files Browse the repository at this point in the history
  • Loading branch information
timower committed Oct 28, 2023
1 parent 21daafc commit 7a96ac4
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions libs/libYaft/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ add_library(${PROJECT_NAME} STATIC

target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

if (NOT APPLE)
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD
COMMAND
tic "${CMAKE_CURRENT_SOURCE_DIR}/info/yaft.src"
-o "${CMAKE_BINARY_DIR}/terminfo")
endif()
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD
COMMAND
tic -o "${CMAKE_BINARY_DIR}/terminfo"
"${CMAKE_CURRENT_SOURCE_DIR}/info/yaft.src")

0 comments on commit 7a96ac4

Please sign in to comment.