summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include_directories/DirInInstallPrefix.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/include_directories/DirInInstallPrefix.cmake')
-rw-r--r--Tests/RunCMake/include_directories/DirInInstallPrefix.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/include_directories/DirInInstallPrefix.cmake b/Tests/RunCMake/include_directories/DirInInstallPrefix.cmake
new file mode 100644
index 0000000..d6f08bd
--- /dev/null
+++ b/Tests/RunCMake/include_directories/DirInInstallPrefix.cmake
@@ -0,0 +1,9 @@
+
+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)