From: Tim Kientzle Date: Thu, 2 Apr 2009 01:38:45 +0000 (-0400) Subject: The distribution contains a pre-built list.h that includes X-Git-Tag: v2.7.0~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1523d4bf59bc3af8504f453d819bdd3273e2aa58;p=thirdparty%2Flibarchive.git The distribution contains a pre-built list.h that includes test_windows.c. By default, cmake seems to pick up the existing list.h instead of remaking it, so we'd better always compile test_windows.c. It includes enough compile guards that this is safe on all platforms. SVN-Revision: 910 --- diff --git a/tar/test/CMakeLists.txt b/tar/test/CMakeLists.txt index 1a08dab65..530fbb3e5 100644 --- a/tar/test/CMakeLists.txt +++ b/tar/test/CMakeLists.txt @@ -21,11 +21,11 @@ IF(ENABLE_TAR AND ENABLE_TEST) test_strip_components.c test_symlink_dir.c test_version.c + test_windows.c ) IF(WIN32 AND NOT CYGWIN) LIST(APPEND bsdtar_test_SOURCES ../bsdtar_windows.c) LIST(APPEND bsdtar_test_SOURCES ../bsdtar_windows.h) - LIST(APPEND bsdtar_test_SOURCES test_windows.c) ENDIF(WIN32 AND NOT CYGWIN) #