diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FudConfig.cmake.in | 8 | ||||
-rw-r--r-- | cmake/fud-config.cmake | 1 | ||||
-rw-r--r-- | cmake/fud.pc.in | 10 | ||||
-rw-r--r-- | cmake/warnings.cmake | 1 |
4 files changed, 19 insertions, 1 deletions
diff --git a/cmake/FudConfig.cmake.in b/cmake/FudConfig.cmake.in new file mode 100644 index 0000000..9d08140 --- /dev/null +++ b/cmake/FudConfig.cmake.in @@ -0,0 +1,8 @@ +set(FOO_VERSION x.y.z) +# ... +@PACKAGE_INIT@ +# ... +set_and_check(FUD_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@") +set_and_check(FUD_SYSCONFIG_DIR "@PACKAGE_SYSCONFIG_INSTALL_DIR@") + +check_required_components(Fud) diff --git a/cmake/fud-config.cmake b/cmake/fud-config.cmake new file mode 100644 index 0000000..35b1014 --- /dev/null +++ b/cmake/fud-config.cmake @@ -0,0 +1 @@ +include(${CMAKE_CURRENT_LIST_DIR}/fudTargets.cmake) diff --git a/cmake/fud.pc.in b/cmake/fud.pc.in new file mode 100644 index 0000000..d7359bc --- /dev/null +++ b/cmake/fud.pc.in @@ -0,0 +1,10 @@ +prefix=${pcfiledir}/../.. +exec_prefix=${prefix} +includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ +libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ + +Name: @PROJECT_NAME@ +Description: Fear Unknown Doubt +Version: @PROJECT_VERSION@ +Libs: -L${libdir} -lhouse +Cflags: -I${includedir} diff --git a/cmake/warnings.cmake b/cmake/warnings.cmake index 1bddeb8..03d7a32 100644 --- a/cmake/warnings.cmake +++ b/cmake/warnings.cmake @@ -26,7 +26,6 @@ set(FUD_WARNINGS -Wmissing-field-initializers -Wimport -Winit-self - -Winline -Wchar-subscripts -Wcomment -Wconversion |