Skip to content

Commit

Permalink
added add_subdirectory guard
Browse files Browse the repository at this point in the history
  • Loading branch information
jpihl committed Nov 19, 2019
1 parent b608e33 commit c176918
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Expand Up @@ -12,8 +12,13 @@ endif()
add_library(chunkie INTERFACE)
add_library(steinwurf::chunkie ALIAS chunkie)

if (NOT TARGET bitter)
add_subdirectory("${STEINWURF_RESOLVE}/bitter" bitter)
endif()

if (NOT TARGET endian)
add_subdirectory("${STEINWURF_RESOLVE}/endian" endian)
endif()

target_link_libraries(chunkie
INTERFACE steinwurf::endian
Expand Down
2 changes: 1 addition & 1 deletion NEWS.rst
Expand Up @@ -6,7 +6,7 @@ every change, see the Git log.

Latest
------
* tbd
* Patch: Added add_subdirectory guard to CMakeLists.txt.

9.1.0
-----
Expand Down

0 comments on commit c176918

Please sign in to comment.