Hi all,

I am currently trying to link a DLL with the netcdf_c++ static library
in the hope I will not have to redistribute netcdf itself. (I thought
the DLL could contain the needed code itself).

Therefore I used

target_library_add({${myLib} ${netcdf_c++.lib})

While I can build that library static, whenever I try to build it
dynamic I get unresolved symbols (exactly the external ones). 

So does cmake ignore the target_library_add() command for DLLS?

thanks,

Christoph

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to