Good morning, The lines
add_library(foo STATIC foo1.c) install(TARGETS foo DESTINATION lib EXPORTS myproj-targets) install(EXPORT myproj-targets DESTINATION lib/myproj) create a file myproj-targets.cmake and a file myproj-targets-debug.cmake. How can I create a myproj-targets-release.cmake file (Windows)? Michael By the way, .lib and .dll are not always in the same directory. _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake