Skip to content

Commit

Permalink
Try install of headers.
Browse files Browse the repository at this point in the history
This is a bit annoying and probably brittle, but we do not want to
update to CMake 3.23 just yet.
  • Loading branch information
mwallerb committed Nov 27, 2023
1 parent bfe65ed commit e022f0d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ add_library(xprec SHARED
)
target_compile_options(xprec PRIVATE -Wall -Wextra -pedantic)
target_include_directories(xprec PUBLIC include)
#set_target_properties(xprec PROPERTIES
# PUBLIC_HEADER "include/xprec/ddouble.h;include/xprec/ddouble-impl.h"
# )

install(TARGETS xprec)
install(
DIRECTORY include/
DESTINATION include
)

# TESTS
if (BUILD_TESTING)
Expand Down

0 comments on commit e022f0d

Please sign in to comment.