A DLL-library is linked to static library. The structure of the project is this:
main-project +--------- Project STATIC | +--------- Project DLL This works very well. But if I include the following export part to the project of the DLL... INSTALL(TARGETS T-DLL EXPORT T-DLLExport RUNTIME DESTINATION dll LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) INSTALL(EXPORT T-DLLExport DESTINATION lib/${T-DLL}) ... CMake generates the message: "CMake Error: INSTALL(EXPORT "TLIBExport" ...) includes target "T-DLL" which requires target "T-Static" that is not in the export set." This is unexpected. I don't want export the static library because it is already linked to the DLL and it is used only by the DLL. Micha _______________________________________________ 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