mirror of
https://github.com/love2d/megasource.git
synced 2026-08-21 05:02:11 +02:00
Disable targets which are not needed.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user