Disable targets which are not needed.

This commit is contained in:
rude
2013-09-28 01:32:47 +02:00
parent 283a50aba9
commit 63865e5a72
15 changed files with 20 additions and 18 deletions
+3 -1
View File
@@ -234,6 +234,8 @@ endif()
# Example binaries
#============================================================================
return()
add_executable(example test/example.c)
target_link_libraries(example zlib)
add_test(example example)
@@ -241,7 +243,7 @@ add_test(example example)
add_executable(minigzip test/minigzip.c)
target_link_libraries(minigzip zlib)
if(HAVE_OFF64_T)
if(HAVE_OFF64_T AND FALSE)
add_executable(example64 test/example.c)
target_link_libraries(example64 zlib)
set_target_properties(example64 PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64")