CMAKE : how to link executable to winmm imm32 version on windows with Visual Studio? -


is possible find these libraries easily?

i not want reinvent wheel , write uber-long find_library call!

even more, want put line "winmm.lib etc"

"librarian" => "additional dependencies" or "linker" => "additional dependencies" 

these libraries friends of windows , visual studio know how find them.

solution andre works. in project line did trick:

 target_link_libraries(${target_name} winmm.lib) 

Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -