Update CMakeLists.txt

This commit is contained in:
M-BELLAHCENE 2022-09-19 10:32:55 +02:00
parent 39e0284e0c
commit b28fdc9d3b
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "Darwin")
ENDIF()
IF (CMAKE_SYSTEM_NAME STREQUAL Windows)
FIND_PATH(GETOPT_INCLUDE_DIR NAMES getopt.h)
FIND_PATH(GETOPT_INCLUDE_DIR NAMES getopt.h AND LSQUIC_TESTS AND LSQUIC_BIN)
IF (GETOPT_INCLUDE_DIR)
INCLUDE_DIRECTORIES(${GETOPT_INCLUDE_DIR})
ELSE()