mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[CMAKE]
Link libjpg explicitly to kernel32 and link to mingw_common on MSVC builds svn path=/branches/cmake-bringup/; revision=49793
This commit is contained in:
parent
a68d9fb74f
commit
93f5d28abf
1 changed files with 6 additions and 1 deletions
7
dll/3rdparty/libjpeg/CMakeLists.txt
vendored
7
dll/3rdparty/libjpeg/CMakeLists.txt
vendored
|
@ -61,7 +61,12 @@ add_library(libjpeg SHARED
|
|||
|
||||
set_entrypoint(libjpeg 0)
|
||||
|
||||
add_importlibs(libjpeg msvcrt)
|
||||
if(MSVC)
|
||||
# for _fltused
|
||||
target_link_libraries(libjpeg mingw_common)
|
||||
endif()
|
||||
|
||||
add_importlibs(libjpeg msvcrt kernel32)
|
||||
|
||||
add_dependencies(libjpeg psdk buildno_header)
|
||||
|
||||
|
|
Loading…
Reference in a new issue