2014-03-31 19:37:02 +04:00
|
|
|
|
2014-06-30 22:37:38 +04:00
|
|
|
enable_language(CXX)
|
2014-03-31 19:37:02 +04:00
|
|
|
|
|
|
|
add_library(testTarget "${CMAKE_CURRENT_SOURCE_DIR}/empty.cpp")
|
|
|
|
target_include_directories(testTarget INTERFACE "${CMAKE_INSTALL_PREFIX}/foo")
|
|
|
|
|
|
|
|
install(TARGETS testTarget EXPORT testTargets
|
|
|
|
DESTINATION lib
|
|
|
|
)
|
|
|
|
|
|
|
|
install(EXPORT testTargets DESTINATION lib/cmake)
|