4) Find the file snort.cmake. Manually set set the
variable SNORT_IMPORT_FILE using either ccmake or the
- command line (-DSNORT_IMPORT_FILE=/full/path/to/snort.cmake)
+ command line (-DSNORT_IMPORT_FILE=/full/install/path/lib/snort/snort.cmake)
5) install pkg-config and add snort.pc to the PKG_CONFIG_PATH
environment variable.
set (CPACK_PACKAGE_INSTALL_DIRECTORY "snort")
set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
set (CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR}/README")
+set (CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
set (CPACK_SOURCE_IGNORE_FILES "${CMAKE_BINARY_DIR}/;autom4te.cache;")
set (CPACK_SOURCE_GENERATOR TGZ)