Skip to content

Commit

Permalink
added install step to cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
jpihl committed Jan 19, 2021
1 parent b7cf960 commit 9423c22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Expand Up @@ -9,6 +9,8 @@ if(NOT DEFINED STEINWURF_RESOLVE)
set(STEINWURF_RESOLVE "${CMAKE_CURRENT_SOURCE_DIR}/resolve_symlinks")
endif()

file(GLOB chunkie_headers ./src/chunkie/*.hpp)

add_library(chunkie INTERFACE)
add_library(steinwurf::chunkie ALIAS chunkie)

Expand All @@ -27,3 +29,5 @@ target_link_libraries(chunkie
target_include_directories(chunkie INTERFACE src)

target_compile_features(chunkie INTERFACE cxx_std_14)

install(FILES ${chunkie_headers} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/chunkie)
2 changes: 1 addition & 1 deletion NEWS.rst
Expand Up @@ -6,7 +6,7 @@ every change, see the Git log.

Latest
------
* tbd
* Minor: Added install step to CMake.

10.0.0
------
Expand Down

0 comments on commit 9423c22

Please sign in to comment.