[cmake-developers] [CMake 0013200]: CMakeFiles/lib2.dir/build.make:82: *** missing separator

Mantis Bug Tracker mantis at public.kitware.com
Tue May 8 10:40:14 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://cmake.org/Bug/view.php?id=13200 
====================================================================== 
Reported By:                Mathieu Malaterre
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13200
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-05-08 10:40 EDT
Last Modified:              2012-05-08 10:40 EDT
====================================================================== 
Summary:                    CMakeFiles/lib2.dir/build.make:82: *** missing
separator
Description: 
Steps to reproduce:

$ echo "int bla() { return foo();}" > bla.c
$ cat CMakeLists.txt

cmake_minimum_required(VERSION 2.8)
project(test2 C)

SET(LIB_PROPERTIES
  VERSION "1.0"
  SOVERSION "1"
)

add_library(lib2 SHARED bla.c)
set_property(TARGET lib2 PROPERTY ${LIB_PROPERTIES})

then simply run cmake && make

It would be nice if cmake would trigger a warning on the improper syntax:


set_property(TARGET lib2 PROPERTY ${LIB_PROPERTIES})


Thanks
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-05-08 10:40 Mathieu MalaterreNew Issue                                    
======================================================================




More information about the cmake-developers mailing list