fix cmake warning

This commit is contained in:
Christopher Lackner 2020-06-19 17:36:48 +02:00
parent 3b5c346e63
commit d2cb67f681

View File

@ -27,7 +27,7 @@ endif(WIN32)
if(OCC_LIBRARY AND NOT OCC_LIBRARY_DIR) if(OCC_LIBRARY AND NOT OCC_LIBRARY_DIR)
get_filename_component(OCC_LIBRARY_DIR ${OCC_LIBRARY} PATH) get_filename_component(OCC_LIBRARY_DIR ${OCC_LIBRARY} PATH)
endif(OCC_LIBRARY) endif(OCC_LIBRARY AND NOT OCC_LIBRARY_DIR)
if(OCC_INCLUDE_DIR) if(OCC_INCLUDE_DIR)
file(STRINGS ${OCC_INCLUDE_DIR}/Standard_Version.hxx OCC_MAJOR file(STRINGS ${OCC_INCLUDE_DIR}/Standard_Version.hxx OCC_MAJOR