Skip to content

Commit

Permalink
Fix if syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjko committed Oct 30, 2023
1 parent 720cecf commit a286cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE


# Include getopt only if no native implementation found.
if(!HAVE_GETOPT)
if(NOT HAVE_GETOPT_LONG)
target_sources(${PROJECT_NAME} PRIVATE getopt.c getopt1.c)
endif()

Expand Down

0 comments on commit a286cc0

Please sign in to comment.