Skip to content

Commit

Permalink
fixes #13 - fix linking error on gentoo
Browse files Browse the repository at this point in the history
  • Loading branch information
d99kris committed Sep 19, 2021
1 parent 52a9de1 commit ff577a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Project
cmake_minimum_required(VERSION 3.16 FATAL_ERROR) # 3.1 is ok, but is 3.16 needed for proper version string
project(nchat VERSION 2.09 LANGUAGES CXX)
project(nchat VERSION 2.10 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 14)
include(CheckCXXSourceCompiles)
set(NCHAT_PROJECT_VERSION ${PROJECT_VERSION})
Expand Down Expand Up @@ -121,7 +121,7 @@ find_package(Curses REQUIRED)
include_directories(${CURSES_INCLUDE_DIR})

# Linking
target_link_libraries(nchat PUBLIC tgchat ncutil pthread ${CURSES_NCURSES_LIBRARY})
target_link_libraries(nchat PUBLIC tgchat ncutil pthread ${CURSES_LIBRARIES})

# Optionals
if(HAS_DUMMY)
Expand Down
2 changes: 1 addition & 1 deletion src/nchat.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
.TH NCHAT "1" "September 2021" "nchat v2.09" "User Commands"
.TH NCHAT "1" "September 2021" "nchat v2.10" "User Commands"
.SH NAME
nchat \- ncurses chat
.SH SYNOPSIS
Expand Down

0 comments on commit ff577a3

Please sign in to comment.