Re: [CMake] Add Windows library dependency

2018-07-29 Thread frodak
I have a very simple project and just uses two commands: Add_executable( exe_target ... ) Target_link_libraries( exe_target Shlwapi) -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to su

Re: [CMake] Add Windows library dependency

2018-07-27 Thread J Decker
should just be add_executable( whatever_target secur32 ) On Fri, Jul 27, 2018 at 8:05 PM Theodore Hall wrote: > Greetings, > > I'm building a project that depends on a Windows library -- Secur32.Lib -- > that is included in the regular library search path but is not one of the > specific librar

[CMake] Add Windows library dependency

2018-07-27 Thread Theodore Hall
Greetings, I'm building a project that depends on a Windows library -- Secur32.Lib -- that is included in the regular library search path but is not one of the specific libraries that the compiler normally links to. In *NIX command-line terms, the "-L" is OK, I only need to specify the "-lSecur32