summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/IfacePaths/DirInInstallPrefix.cmake
blob: fab771718babe91553df2ed1d42ecb1b571ad707 (plain)
1
2
3
4
5
6
7
8
9
enable_language(CXX)
add_library(testTarget empty.cpp)
target_include_directories(testTarget INTERFACE "${CMAKE_INSTALL_PREFIX}/dir")

install(TARGETS testTarget EXPORT testTargets
  DESTINATION lib
)

install(EXPORT testTargets DESTINATION lib/cmake)