mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2024-11-27 00:43:47 +00:00
Fix the linking error occurring sometimes.
How the hell this did even compile on my other machine? \_(ツ)_/¯
This commit is contained in:
parent
76c4e2f7a2
commit
3cd4aa461e
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ find_library(SourceHighlight_LIBRARIES
|
|||
if(SourceHighlight_INCLUDE_DIR AND SourceHighlight_LIBRARIES AND Ncurses_LIBRARY)
|
||||
set(SourceHighlight_FOUND ON)
|
||||
else(SourceHighlight_INCLUDE_DIR AND SourceHighlight_LIBRARIES AND Ncurses_LIBRARY)
|
||||
find_library(SourceHighlight_LIBRARIES NAMES readline)
|
||||
find_library(SourceHighlight_LIBRARIES NAMES source-highlight)
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(SourceHighlight DEFAULT_MSG SourceHighlight_INCLUDE_DIR SourceHighlight_LIBRARIES )
|
||||
mark_as_advanced(SourceHighlight_INCLUDE_DIR SourceHighlight_LIBRARIES)
|
||||
|
|
Loading…
Reference in a new issue