1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2024-12-01 00:45:41 +00:00

Fix the linking error occurring sometimes.

How the hell this did even compile on my other machine? \_(ツ)_/¯
This commit is contained in:
King_DuckZ 2017-04-21 20:21:32 +01:00
parent 76c4e2f7a2
commit 3cd4aa461e

View file

@ -28,7 +28,7 @@ find_library(SourceHighlight_LIBRARIES
if(SourceHighlight_INCLUDE_DIR AND SourceHighlight_LIBRARIES AND Ncurses_LIBRARY) if(SourceHighlight_INCLUDE_DIR AND SourceHighlight_LIBRARIES AND Ncurses_LIBRARY)
set(SourceHighlight_FOUND ON) set(SourceHighlight_FOUND ON)
else(SourceHighlight_INCLUDE_DIR AND SourceHighlight_LIBRARIES AND Ncurses_LIBRARY) 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) include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(SourceHighlight DEFAULT_MSG SourceHighlight_INCLUDE_DIR SourceHighlight_LIBRARIES ) find_package_handle_standard_args(SourceHighlight DEFAULT_MSG SourceHighlight_INCLUDE_DIR SourceHighlight_LIBRARIES )
mark_as_advanced(SourceHighlight_INCLUDE_DIR SourceHighlight_LIBRARIES) mark_as_advanced(SourceHighlight_INCLUDE_DIR SourceHighlight_LIBRARIES)