linke to uuid
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
b3e24df2f6
commit
981591120c
3 changed files with 3 additions and 2 deletions
|
|
@ -329,7 +329,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows" OR CMAKE_SYSTEM_NAME STREQUAL "MSYS")
|
|||
PRIVATE
|
||||
USE_GDI
|
||||
)
|
||||
list(APPEND LIBRARIES gdi32 ole32 winmm)
|
||||
list(APPEND LIBRARIES gdi32 ole32 winmm uuid)
|
||||
target_link_options(
|
||||
Mw
|
||||
PRIVATE
|
||||
|
|
|
|||
|
|
@ -6,5 +6,6 @@ add_ldflags("-Wl,--out-implib,src/libMw.dll.a -static-libgcc");
|
|||
use_backend("gdi");
|
||||
add_libs("-lwinmm");
|
||||
add_libs("-lole32");
|
||||
add_libs("-luuid");
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ sub generate {
|
|||
print(OUT "src${dir}Mw.dll: " . cobjs($dir) . "\n");
|
||||
print( OUT " \$(LD) \$(MW_LDFLAGS) $c_dllout $dllout\$@ "
|
||||
. cobjs($dir, $prefobj)
|
||||
. " $needlibs ${lib}opengl32.lib ${lib}gdi32.lib ${lib}winmm.lib ${lib}ole32.lib ${lib}user32.lib ${lib}advapi32.lib\n"
|
||||
. " $needlibs ${lib}opengl32.lib ${lib}gdi32.lib ${lib}winmm.lib ${lib}ole32.lib ${lib}uuid.lib ${lib}user32.lib ${lib}advapi32.lib\n"
|
||||
);
|
||||
print(OUT " $c_dllafter\n");
|
||||
print(OUT "\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue