From 7a96ac40211892077590f8c029560da02b42908a Mon Sep 17 00:00:00 2001 From: Timothy Werquin Date: Sat, 28 Oct 2023 12:12:05 +0200 Subject: [PATCH] libYaft: terminfo on APPLE --- libs/libYaft/CMakeLists.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libs/libYaft/CMakeLists.txt b/libs/libYaft/CMakeLists.txt index d7962db..6e430eb 100644 --- a/libs/libYaft/CMakeLists.txt +++ b/libs/libYaft/CMakeLists.txt @@ -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")