summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/TARGETS-Parts.cmake
blob: 2a46ab9a9d603591f658596baaa81bffe88087ed (plain)
1
2
3
4
5
6
7
enable_language(C)
add_library(mylib STATIC obj1.c)
set_property(TARGET mylib PROPERTY PUBLIC_HEADER obj1.h)
install(TARGETS mylib
  ARCHIVE DESTINATION lib
  PUBLIC_HEADER DESTINATION include
  )