From bc7989020595208d4f932b52135ff1f67d88f51d Mon Sep 17 00:00:00 2001 From: Philip Lowman Date: Mon, 21 Sep 2009 22:38:12 -0400 Subject: [PATCH] Add a blank line to my contributed find modules to prevent copyright info from showing up in CMake docs --- Modules/FindCxxTest.cmake | 2 +- Modules/FindGTK2.cmake | 2 +- Modules/FindOpenSceneGraph.cmake | 4 ++-- Modules/FindProtobuf.cmake | 22 +++++++++++----------- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Modules/FindCxxTest.cmake b/Modules/FindCxxTest.cmake index 8964bc605..c31fc130d 100644 --- a/Modules/FindCxxTest.cmake +++ b/Modules/FindCxxTest.cmake @@ -63,7 +63,7 @@ # } # }; # -# + # Version 1.2 (3/2/08) # Included patch from Tyler Roscoe to have the perl & python binaries # detected based on CXXTEST_INCLUDE_DIR diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake index 692126942..7d58ae4a8 100644 --- a/Modules/FindGTK2.cmake +++ b/Modules/FindGTK2.cmake @@ -49,7 +49,7 @@ # target_link_libraries(mygui ${GTK2_LIBRARIES}) # endif() # -#================= + # # Copyright (c) 2008-2009 # Philip Lowman diff --git a/Modules/FindOpenSceneGraph.cmake b/Modules/FindOpenSceneGraph.cmake index a5ff47084..afa4bfb83 100644 --- a/Modules/FindOpenSceneGraph.cmake +++ b/Modules/FindOpenSceneGraph.cmake @@ -6,7 +6,7 @@ # NOTE: To use this module effectively you must either require CMake >= 2.6.3 # with cmake_minimum_required(VERSION 2.6.3) or download and place # FindOpenThreads.cmake, Findosg_functions.cmake, Findosg.cmake, -# and Find.cmake files for whatever nodekits you need. +# and Find.cmake files into your CMAKE_MODULE_PATH. # #================================== # @@ -46,7 +46,7 @@ # add_executable(foo foo.cc) # target_link_libraries(foo ${OPENSCENEGRAPH_LIBRARIES}) # -#================================== + # # Naming convention: # Local variables of the form _osg_foo diff --git a/Modules/FindProtobuf.cmake b/Modules/FindProtobuf.cmake index 67d33e563..2f8aa5da8 100644 --- a/Modules/FindProtobuf.cmake +++ b/Modules/FindProtobuf.cmake @@ -11,12 +11,6 @@ # PROTOBUF_INCLUDE_DIR - The include directory for protocol buffers # PROTOBUF_PROTOC_EXECUTABLE - The protoc compiler # -# Esben Mose Hansen <[EMAIL PROTECTED]>, (c) Ange Optimization ApS 2008 -# Adapted by Philip Lowman (c) 2009 -# -# Redistribution and use is allowed according to the terms of the BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. -# #==================================================================== # Example: # @@ -28,19 +22,25 @@ # add_executable(bar bar.cc ${PROTO_SRCS} ${PROTO_HDRS}) # target_link_libraries(bar ${PROTOBUF_LIBRARY}) # -# NOTE: You may need to link against pthreads as well depending +# NOTE: You may need to link against pthreads, depending # on the platform. #==================================================================== - - -#================================================== +# # PROTOBUF_GENERATE_CPP (public function) # SRCS = Variable to define with autogenerated # source files # HDRS = Variable to define with autogenerated # header files # ARGN = proto files -#================================================== +# +#==================================================================== + +# Esben Mose Hansen <[EMAIL PROTECTED]>, (c) Ange Optimization ApS 2008 +# Adapted by Philip Lowman (c) 2009 +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + function(PROTOBUF_GENERATE_CPP SRCS HDRS) if(NOT ARGN) message(SEND_ERROR "Error: PROTOBUF_GENERATE_CPP() called without any proto files")