Hide the CMake variable "WITH_tests" from the public releases

Trivial bug fix, that I have tested in both a public release and in a
branch build.
This commit is contained in:
Laurent Rineau 2013-02-22 13:19:54 +01:00
parent e84176bed7
commit c7179b2c6c
1 changed files with 3 additions and 2 deletions

View File

@ -872,8 +872,9 @@ if ( NOT RUNNING_CGAL_AUTO_TEST )
add_programs(examples examples OFF )
add_programs(demo demos OFF )
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/test")
add_programs(test tests OFF )
endif()
endif()
#--------------------------------------------------------------------------------------------------