set CMAKE_CXX_COMPILER to "" for cmake < 2.8.

This commit is contained in:
Dilawar Singh 2017-12-26 15:01:20 +05:30
parent ab8c4296d7
commit 4eb8faae8b

View file

@ -1,5 +1,8 @@
cmake_minimum_required(VERSION 2.6)
project(nnn LANGUAGES C)
project(nnn)
# not using cmake_cxx_compiler.
set(CMAKE_CXX_COMPILER "")
# find curses
find_path( CURSES_INCLUDE_PATH NAMES curses.h )