opencog / destin

Deep SpatioTemporal Inference Network (DeSTIN) for vision processing
http://wiki.opencog.org/w/DeSTIN
GNU Lesser General Public License v3.0
34 stars 28 forks source link

Fix test cmake target; Keyword test is not allowed for new cmake versions #21

Closed jswiergo closed 8 years ago

jswiergo commented 8 years ago

Fix for following problem:

CMake Warning (dev) at DavisDestin/CMakeLists.txt:64 (ADD_EXECUTABLE):
  Policy CMP0037 is not set: Target names should not be reserved and should
  match a validity pattern.  Run "cmake --help-policy CMP0037" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The target name "test" is reserved or not valid for certain CMake features,
  such as generator expressions, and may result in undefined behavior.