Skip to content

Commit

Permalink
cmake UPDATE redundant list remove
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Aug 15, 2024
1 parent 0c30420 commit 93aeee7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeModules/UseCompat.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ macro(USE_COMPAT)
list(REMOVE_ITEM CMAKE_REQUIRED_DEFINITIONS -D_POSIX_C_SOURCE=200809L)
list(REMOVE_ITEM CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
list(REMOVE_ITEM CMAKE_REQUIRED_DEFINITIONS -D__BSD_VISIBLE=1)
list(REMOVE_ITEM CMAKE_REQUIRED_DEFINITIONS -D_DEFAULT_SOURCE)

# header and source file (adding the source directly allows for hiding its symbols)
configure_file(${PROJECT_SOURCE_DIR}/compat/compat.h.in ${PROJECT_BINARY_DIR}/compat/compat.h @ONLY)
Expand Down

0 comments on commit 93aeee7

Please sign in to comment.