From 81cc84c1727c1b1c1782e63aba22202cba649af7 Mon Sep 17 00:00:00 2001 From: Peter Conrad Date: Wed, 21 Aug 2019 11:31:09 +0200 Subject: [PATCH] Fix core #1948 - editline does not build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bad2407..292b574 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -250,7 +250,7 @@ install( DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/" DESTINATION include ) # begin editline stuff if(WIN32) target_compile_definitions( fc PRIVATE _CRT_NONSTDC_NO_DEPRECATE ) -elseif(WIN32) +else(WIN32) target_compile_definitions (fc PRIVATE HAVE_EDITLINE) set(editline_libraries editline) endif(WIN32)