File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -569,17 +569,17 @@ endif (TELLDUSCORE_INCLUDE)
569
569
570
570
# Under FreeBSD sys/sysinfo?h exist using a separate pkg
571
571
IF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" )
572
- find_path (SYSINFO_INCLUDE NAMES sysinfo.h )
572
+ find_path (SYSINFO_INCLUDE NAMES sys/ sysinfo.h )
573
573
if (SYSINFO_INCLUDE )
574
574
message (STATUS "Found sysinfo.h at : ${SYSINFO_INCLUDE} " )
575
575
find_library (SYSINFO_LIBRARIES NAMES libsysinfo.so )
576
576
if (SYSINFO_LIBRARIES )
577
577
message (STATUS "Found libsysinfo.so at : ${SYSINFO_LIBRARIES} " )
578
578
else (SYSINFO_LIBRARIES )
579
- message (FATAL "Cannot find libsysinfo, please install it with 'pkg install libsysinfo'" )
579
+ message (FATAL_ERROR "Cannot find libsysinfo, please install it with 'pkg install libsysinfo'" )
580
580
endif (SYSINFO_LIBRARIES )
581
581
else ()
582
- message (FATAL "Cannot find sysinfo.h, please install it with 'pkg install libsysinfo'" )
582
+ message (FATAL_ERROR "Cannot find sysinfo.h, please install it with 'pkg install libsysinfo'" )
583
583
endif ()
584
584
ENDIF ()
585
585
You can’t perform that action at this time.
0 commit comments