summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/install/TARGETS-Defaults.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/install/TARGETS-Defaults.cmake')
-rw-r--r--Tests/RunCMake/install/TARGETS-Defaults.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/TARGETS-Defaults.cmake b/Tests/RunCMake/install/TARGETS-Defaults.cmake
index 324aa111fe..a580657976 100644
--- a/Tests/RunCMake/install/TARGETS-Defaults.cmake
+++ b/Tests/RunCMake/install/TARGETS-Defaults.cmake
@@ -2,6 +2,7 @@ enable_language(C)
add_executable(exe main.c)
add_library(lib1 SHARED obj1.c)
+set_property(TARGET lib1 PROPERTY PUBLIC_HEADER ${CMAKE_CURRENT_SOURCE_DIR}/obj3.h)
add_library(lib2 STATIC obj3.c)
add_library(lib3 SHARED obj4.c)
set_property(TARGET lib3 PROPERTY PRIVATE_HEADER ${CMAKE_CURRENT_SOURCE_DIR}/obj4.h)