aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-03-14 20:45:46 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2016-03-14 20:45:46 +0100
commit1fd2cb3eaa663f28ff793059edd1d1f8a8d2c356 (patch)
tree0e2795e8899fe297ac97b54adcd578dcf2ffd9ab
parent783b744e8baeb606dd8925547ec0318df3c75237 (diff)
downloadtermo-1fd2cb3eaa663f28ff793059edd1d1f8a8d2c356.tar.gz
termo-1fd2cb3eaa663f28ff793059edd1d1f8a8d2c356.tar.xz
termo-1fd2cb3eaa663f28ff793059edd1d1f8a8d2c356.zip
Try to fix Debian/Fedora build
-rw-r--r--CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f2ce8ca..17c6cda 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@ project (termo C)
cmake_minimum_required (VERSION 2.8.5)
if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUC)
- set (CMAKE_C_FLAGS "-std=c99")
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -Wextra")
endif ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUC)
@@ -52,9 +52,9 @@ if (unibilium_FOUND)
include_directories (${unibilium_INCLUDE_DIRS})
set (lib_libraries ${unibilium_LIBRARIES})
add_definitions (-DHAVE_UNIBILIUM)
-elseif (ncursesw_FOUND)
- include_directories (${ncursesw_INCLUDE_DIRS})
- set (lib_libraries ${ncursesw_LIBRARIES})
+elseif (NCURSESW_FOUND)
+ include_directories (${NCURSESW_INCLUDE_DIRS})
+ set (lib_libraries ${NCURSESW_LIBRARIES})
elseif (CURSES_FOUND)
include_directories (${CURSES_INCLUDE_DIR})
set (lib_libraries ${CURSES_LIBRARY})