Skip to content

Commit 1d2d9bf

Browse files
authored
Merge pull request #151 from pmconrad/1948_fix_editline
Fix editline build on non-win32
2 parents 1eebd3c + ea85954 commit 1d2d9bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,9 @@ install( DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/" DESTINATION include )
249249
# begin editline stuff
250250
if(WIN32)
251251
target_compile_definitions( fc PRIVATE _CRT_NONSTDC_NO_DEPRECATE )
252-
elseif(WIN32)
253-
target_compile_definitions (fc PRIVATE HAVE_EDITLINE)
254-
set(editline_libraries editline)
252+
else(WIN32)
253+
target_compile_definitions( fc PRIVATE HAVE_EDITLINE )
254+
set( editline_libraries editline )
255255
endif(WIN32)
256256
# end editline stuff
257257

0 commit comments

Comments
 (0)