Check for library
This commit is contained in:
parent
5902279ebc
commit
332c653586
|
@ -24,6 +24,9 @@ INCLUDE (${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
|
||||||
CHECK_INCLUDE_FILE("sys/prctl.h" HAVE_SYS_PRCTL_H)
|
CHECK_INCLUDE_FILE("sys/prctl.h" HAVE_SYS_PRCTL_H)
|
||||||
CHECK_INCLUDE_FILE("sys/prafasdfctl.h" HAVE_SYS_PRAFASDFCTL_H)
|
CHECK_INCLUDE_FILE("sys/prafasdfctl.h" HAVE_SYS_PRAFASDFCTL_H)
|
||||||
|
|
||||||
|
INCLUDE (${CMAKE_ROOT}/Modules/CheckLibraryExists.cmake)
|
||||||
|
CHECK_LIBRARY_EXISTS(m ceil "" HAVE_LIBM)
|
||||||
|
|
||||||
CONFIGURE_FILE(${LoadedCommand_SOURCE_DIR}/LoadedCommand.h.in
|
CONFIGURE_FILE(${LoadedCommand_SOURCE_DIR}/LoadedCommand.h.in
|
||||||
${LoadedCommand_BINARY_DIR}/LoadedCommand.h)
|
${LoadedCommand_BINARY_DIR}/LoadedCommand.h)
|
||||||
|
|
||||||
|
|
|
@ -18,3 +18,6 @@
|
||||||
/* Check for headers */
|
/* Check for headers */
|
||||||
#cmakedefine HAVE_SYS_PRCTL_H
|
#cmakedefine HAVE_SYS_PRCTL_H
|
||||||
#cmakedefine HAVE_SYS_PRAFASDFCTL_H
|
#cmakedefine HAVE_SYS_PRAFASDFCTL_H
|
||||||
|
|
||||||
|
/* Check for libraries */
|
||||||
|
#cmakedefine HAVE_LIBM
|
|
@ -24,6 +24,9 @@ INCLUDE (${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
|
||||||
CHECK_INCLUDE_FILE("sys/prctl.h" HAVE_SYS_PRCTL_H)
|
CHECK_INCLUDE_FILE("sys/prctl.h" HAVE_SYS_PRCTL_H)
|
||||||
CHECK_INCLUDE_FILE("sys/prafasdfctl.h" HAVE_SYS_PRAFASDFCTL_H)
|
CHECK_INCLUDE_FILE("sys/prafasdfctl.h" HAVE_SYS_PRAFASDFCTL_H)
|
||||||
|
|
||||||
|
INCLUDE (${CMAKE_ROOT}/Modules/CheckLibraryExists.cmake)
|
||||||
|
CHECK_LIBRARY_EXISTS(m ceil "" HAVE_LIBM)
|
||||||
|
|
||||||
CONFIGURE_FILE(${LoadedCommand_SOURCE_DIR}/LoadedCommand.h.in
|
CONFIGURE_FILE(${LoadedCommand_SOURCE_DIR}/LoadedCommand.h.in
|
||||||
${LoadedCommand_BINARY_DIR}/LoadedCommand.h)
|
${LoadedCommand_BINARY_DIR}/LoadedCommand.h)
|
||||||
|
|
||||||
|
|
|
@ -18,3 +18,6 @@
|
||||||
/* Check for headers */
|
/* Check for headers */
|
||||||
#cmakedefine HAVE_SYS_PRCTL_H
|
#cmakedefine HAVE_SYS_PRCTL_H
|
||||||
#cmakedefine HAVE_SYS_PRAFASDFCTL_H
|
#cmakedefine HAVE_SYS_PRAFASDFCTL_H
|
||||||
|
|
||||||
|
/* Check for libraries */
|
||||||
|
#cmakedefine HAVE_LIBM
|
Loading…
Reference in New Issue