Skip to content

Commit

Permalink
Only add the dist dir if geodynamix is the toplevel project
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkvdb committed Mar 14, 2023
1 parent 288c54d commit e8d0961
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,6 @@ if (GDX_IS_TOPLEVEL AND GDX_INSTALL_DEVELOPMENT_FILES)
)
endif ()

add_subdirectory(dist)
if (GDX_IS_TOPLEVEL)
add_subdirectory(dist)
endif ()

0 comments on commit e8d0961

Please sign in to comment.