mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +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:
Vendored
+6
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user