Skip to content

Commit

Permalink
cmake: include module before using it
Browse files Browse the repository at this point in the history
  • Loading branch information
arogge committed May 25, 2020
1 parent e69ae28 commit 9bd0c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/cmake/BareosCheckIncludes.cmake
Expand Up @@ -18,6 +18,7 @@
# 02110-1301, USA.

include(CheckIncludeFiles)
include(CheckIncludeFileCXX)

check_include_files(alloca.h HAVE_ALLOCA_H)
check_include_files(afs/afsint.h HAVE_AFS_AFSINT_H)
Expand Down Expand Up @@ -50,7 +51,6 @@ check_include_files(poll.h HAVE_POLL_H)
check_include_files(sys/poll.h HAVE_SYS_POLL_H)
check_include_files(sys/statvfs.h HAVE_SYS_STATVFS_H)
check_include_files(umem.h HAVE_UMEM_H)
check_include_files(cxxabi.h HAVE_CXXABI_H)
check_include_files(ucontext.h HAVE_UCONTEXT_H)
check_include_files(demangle.h HAVE_DEMANGLE_H)

Expand Down

0 comments on commit 9bd0c5e

Please sign in to comment.