Skip to content

Commit fd43687

Browse files
committed
Merge branch 'develop' of github.com:PDB-REDO/libcifpp into develop
2 parents fcf7864 + c400395 commit fd43687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ write_basic_package_version_file(
539539
VERSION ${PROJECT_VERSION}
540540
COMPATIBILITY AnyNewerVersion)
541541

542-
if(BUILD_TESTING)
542+
if(BUILD_TESTING AND PROJECT_IS_TOP_LEVEL)
543543
add_subdirectory(test)
544544
endif()
545545

0 commit comments

Comments
 (0)