Skip to content

Commit

Permalink
simulator: fix cmake check for option BUILD_SIMULATOR_WITH_READLINE
Browse files Browse the repository at this point in the history
Build with readline was never enabled
  • Loading branch information
janbar committed Oct 5, 2024
1 parent 74cfe71 commit e5429d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simulator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ include_directories(BEFORE SYSTEM

option(BUILD_SIMULATOR_WITH_READLINE "Enable Readline support" ON)

if(SIMULATOR_WITH_READLINE)
if(BUILD_SIMULATOR_WITH_READLINE)
find_package(Readline QUIET)
if(READLINE_FOUND)
include_directories(${Readline_INCLUDE_DIR})
Expand Down

0 comments on commit e5429d5

Please sign in to comment.