Skip to content

Commit

Permalink
port/CMakeLists.txt: remove obsolete test CMake >= 3.16
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jan 15, 2025
1 parent a296b0e commit f138693
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions port/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,7 @@ if (NOT CMAKE_CROSSCOMPILING AND BUILD_VSIPRELOAD AND "${CMAKE_SYSTEM}" MATCHES
add_library(vsipreload MODULE vsipreload.cpp)
set_target_properties(vsipreload PROPERTIES PREFIX "")
target_link_libraries(vsipreload PRIVATE $<TARGET_NAME:${GDAL_LIB_TARGET_NAME}> ${CMAKE_DL_LIBS})
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.16)
set_property(SOURCE vsipreload.cpp PROPERTY SKIP_UNITY_BUILD_INCLUSION ON)
endif ()
set_property(SOURCE vsipreload.cpp PROPERTY SKIP_UNITY_BUILD_INCLUSION ON)

# For musl / Alpine
foreach(_header IN ITEMS stdio.h fcntl.h unistd.h dirent.h sys/stat.h)
Expand Down

0 comments on commit f138693

Please sign in to comment.