cmake+skeleton: skeleton needs imm32 on Window (mingw does not understand #pragma comment(lib))
This commit is contained in:
parent
f901866fce
commit
017ea1c70d
@ -50,6 +50,13 @@ target_link_libraries(librw_skeleton
|
|||||||
librw
|
librw
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
target_link_libraries(librw_skeleton
|
||||||
|
PRIVATE
|
||||||
|
imm32
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
librw_platform_target(librw_skeleton PROVIDES_WINMAIN INSTALL)
|
librw_platform_target(librw_skeleton PROVIDES_WINMAIN INSTALL)
|
||||||
|
|
||||||
if(LIBRW_INSTALL)
|
if(LIBRW_INSTALL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user