Check*: Added include guards

This commit is contained in:
Cristian Adam
2017-09-29 02:37:00 +02:00
parent 65f21a7ead
commit 4d611868df
21 changed files with 36 additions and 3 deletions
+2
View File
@@ -29,6 +29,8 @@
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
# CMAKE_REQUIRED_QUIET = execute quietly without messages
include_guard(GLOBAL)
macro(CHECK_LIBRARY_EXISTS LIBRARY FUNCTION LOCATION VARIABLE)
if(NOT DEFINED "${VARIABLE}")
set(MACRO_CHECK_LIBRARY_EXISTS_DEFINITION