blob: 3e286981214efd1e5cb7abe46fcc93db956b0b10 [file] [log] [blame]
--- dlib-19.19/dlib/CMakeLists.txt.orig 2020-06-03 10:01:06.656092300 +0300
+++ dlib-19.19/dlib/CMakeLists.txt 2020-06-03 10:02:43.970358600 +0300
@@ -326,9 +326,9 @@
# we want to link to the right stuff depending on our platform.
if (WIN32 AND NOT CYGWIN) ###############################################################################
if (DLIB_NO_GUI_SUPPORT)
- set (dlib_needed_libraries ws2_32 winmm)
+ set (dlib_needed_libraries -lws2_32 -lwinmm)
else()
- set (dlib_needed_libraries ws2_32 winmm comctl32 gdi32 imm32)
+ set (dlib_needed_libraries -lws2_32 -lwinmm -lcomctl32 -lgdi32 -limm32)
endif()
elseif(APPLE) ############################################################################
set(CMAKE_MACOSX_RPATH 1)