Re: [CMake] Linked Imported Library in Visual Studio Showing NOTFOUND

2019-04-17 Thread Dustyn Blasig
Ah, thanks, that was it. So when I use find_library(), it finds the .lib portion on Windows. Is there a way to find the .dll portion as well? Also, if I change the library type to STATIC on Windows, that seems to have the same effect on the linkers command line as leaving it as SHARED but

Re: [CMake] Linked Imported Library in Visual Studio Showing NOTFOUND

2019-04-17 Thread Petr Kmoch
Hi Dustyn, ELF platforms link against .so files, but Windows links against import libraries (.lib files) assocaited with DLLs. Does the target 'bar' have the IMPORTED_IMPLIB property set up correctly? (See https://cmake.org/cmake/help/latest/prop_tgt/IMPORTED_IMPLIB.html ) Petr On Tue, 16 Apr