You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
292 B
8 lines
292 B
9 years ago
|
enable_language(C)
|
||
|
set(CMAKE_BUILD_WITH_INSTALL_RPATH 1)
|
||
|
add_subdirectory(EXPORT-OldIFace)
|
||
|
add_library(foo SHARED empty.c)
|
||
|
target_link_libraries(foo bar)
|
||
|
install(TARGETS foo DESTINATION lib EXPORT fooExport)
|
||
|
install(EXPORT fooExport DESTINATION lib/cmake/foo EXPORT_LINK_INTERFACE_LIBRARIES)
|