diff options
author | Adam <Adam@anope.org> | 2010-12-12 18:40:04 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-12 18:40:04 -0500 |
commit | 7b7301eeffa22718588b118b53b80b6c5c139a29 (patch) | |
tree | 1bf8146dc94b4ee0b217574157077231c2f2f825 /include/CMakeLists.txt | |
parent | 70d65376b7dea12ffbadbe5fbd6e616c00bc5733 (diff) |
Made ./Config with a .git directory work ok if we are on a git tag
Diffstat (limited to 'include/CMakeLists.txt')
-rw-r--r-- | include/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt index b12d03598..c484334c1 100644 --- a/include/CMakeLists.txt +++ b/include/CMakeLists.txt @@ -12,6 +12,9 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/version.h # Add version to list of files for CPack to ignore get_filename_component(version_BINARY ${version_BINARY} NAME) add_to_cpack_ignored_files("${version_BINARY}$" TRUE) +if(NOT WIN32) + add_to_cpack_ignored_files("version.h$" TRUE) +endif(NOT WIN32) # Add a custom target to the above file add_custom_target(headers DEPENDS version ${CMAKE_CURRENT_BINARY_DIR}/version.h) |