Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit 6ea5c6d

Browse files
committed
cmake - fix SKIP_TESTING test in dist.cmake
1 parent e86b3d7 commit 6ea5c6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dist.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@ endmacro ()
357357
# Under LuaDist, set test=true in config.lua to enable testing.
358358
# USE: add_lua_test ( test/test1.lua )
359359
macro ( add_lua_test _testfile )
360-
if ( SKIP_TESTING )
361-
include ( CTest )
360+
if ( NOT SKIP_TESTING )
361+
include ( CTest )
362362
find_program ( LUA NAMES lua lua.bat )
363363
get_filename_component ( TESTFILEABS ${_testfile} ABSOLUTE )
364364
get_filename_component ( TESTFILENAME ${_testfile} NAME )

0 commit comments

Comments
 (0)