diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a85c41..92dadca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,7 +73,7 @@ if(MSVC) if(WITH_TOOLS) find_path(GETOPT_INCLUDE_DIR getopt.h PATH_SUFFIXES include) - find_library(GETOPT_LIBRARIES wingetopt PATH_SUFFIXES lib) + find_library(GETOPT_LIBRARIES getopt PATH_SUFFIXES lib) include_directories(${GETOPT_INCLUDE_DIR}) endif(WITH_TOOLS) endif(MSVC)