Skip to content

Commit 187674f

Browse files
committed
Build pep8 only when testing is enabled
Testing should be enabled for all developers and pep8 is a developers tool.
1 parent ac13305 commit 187674f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

CMake/cdat_modules/pep8_pkg.cmake

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ string(TOUPPER ${nm} uc_nm)
1111
set(${uc_nm}_VERSION ${${nm}_MAJOR}.${${nm}_MINOR}.${${nm}_PATCH})
1212
set(PEP8_SOURCE ${PEP8_URL}/${PEP8_GZ})
1313

14-
if (CDAT_BUILD_ALL)
14+
if (BUILD_TESTING)
1515
add_cdat_package(pep8 "" "" ON)
16-
else()
17-
add_cdat_package(pep8 "" "" OFF)
1816
endif()

0 commit comments

Comments
 (0)