Skip to content

Commit

Permalink
Merge pull request #151 from pmconrad/1948_fix_editline
Browse files Browse the repository at this point in the history
Fix editline build on non-win32
  • Loading branch information
pmconrad authored Aug 21, 2019
2 parents 1eebd3c + ea85954 commit 1d2d9bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ 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)
target_compile_definitions (fc PRIVATE HAVE_EDITLINE)
set(editline_libraries editline)
else(WIN32)
target_compile_definitions( fc PRIVATE HAVE_EDITLINE )
set( editline_libraries editline )
endif(WIN32)
# end editline stuff

Expand Down

0 comments on commit 1d2d9bf

Please sign in to comment.