From 74aa5e851b5282884032ece5dc052221d745d65f Mon Sep 17 00:00:00 2001 From: David Baer Date: Thu, 15 Apr 2021 18:01:55 -0400 Subject: [PATCH] Clean up --- .gitignore | 1 + CMakeLists.txt | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7d5fba7..f972a62 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ cmake_install.cmake config.h install_manifest.txt mazemaker +*.tar.gz diff --git a/CMakeLists.txt b/CMakeLists.txt index 759e9a9..4b645b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ install (TARGETS mazemaker DESTINATION bin) target_link_libraries(mazemaker PUBLIC ${POPT_LIBRARIES}) target_include_directories(mazemaker PUBLIC ${POPT_INCLUDE_DIRS}) target_compile_options(mazemaker PUBLIC ${POPT_CFLAGS_OTHER}) -target_link_options(mazemaker PUBLIC ${POPT_LDFLAGS_OTHER}) +target_link_options(mazemaker PUBLIC -L${POPT_LIBDIR}) set( CPACK_SOURCE_PACKAGE_FILE_NAME @@ -31,5 +31,6 @@ set( CACHE INTERNAL "tarball basename" ) set(CPACK_SOURCE_GENERATOR "TGZ") -set(CPACK_SOURCE_IGNORE_FILES "/build/;/.git/;~$;/CMakeFiles/;*.cmake;*.tar.gz;${CPACK_SOURCE_IGNORE_FILES}") -include (CPack) +set(CPACK_SOURCE_IGNORE_FILES "/.git/;.gitignore;.tar.gz$;/Makefile;/CMakeCache.txt;/CMakeFiles/;cmake_install.cmake;install_manifest.txt;/_CPack;/mazemaker$;/config.h$;.cmake$;${CPACK_SOURCE_IGNORE_FILES}") +include(CPack) +