Changeset 19885 for trunk


Ignore:
Timestamp:
12/11/19 20:21:34 (5 years ago)
Author:
tbretz
Message:
Allow the use of HIGHLIGHT_LIBRARY even if it was not found.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/cmake/FindHighlight.cmake

    r19884 r19885  
    1212
    1313# Mark those variables to be displayed as 'advanced' in the GUI
    14 MARK_AS_ADVANCED(HIGHLIGHT_LIBRARY HIGHLIGHT_INCLUDE_DIR)
     14IF(HIGHLIGHT_FOUND)
     15   MARK_AS_ADVANCED(HIGHLIGHT_LIBRARY HIGHLIGHT_INCLUDE_DIR)
     16ELSE()
     17   UNSET(HIGHLIGHT_LIBRARY     CACHE)
     18   UNSET(HIGHLIGHT_INCLUDE_DIR CACHE)
     19ENDIF()
Note: See TracChangeset for help on using the changeset viewer.