[cmake-developers] [CMake 0014946]: Strange error message with INTERFACE_INCLUDE_DIRECTORIES

Mantis Bug Tracker mantis at public.kitware.com
Fri May 30 02:03:50 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14946 
====================================================================== 
Reported By:                Micha Renner
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14946
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-05-30 02:03 EDT
Last Modified:              2014-05-30 02:03 EDT
====================================================================== 
Summary:                    Strange error message with
INTERFACE_INCLUDE_DIRECTORIES
Description: 
SET_TARGET_PROPERTIES(${TargetName} PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
"${CMAKE_SOURCE_DIR}/rot")
produces the following error message

gildemeister at iX4:~/work-c/ArchiveCMake/Beispiele/DLL/BuildDLL-40/TLib1/CMake$
make
-- CMake's build type is: Debug
-- Configuring done
CMake Error in CMakeLists.txt:
  Target "TLib1" INTERFACE_INCLUDE_DIRECTORIES property contains path:

   
"/home/gildemeister/work-c/ArchiveCMake/Beispiele/DLL/BuildDLL-40/TLib1/src/rot"

  which is prefixed in the source directory.

-- Generating done

the generated make file works perfect.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-05-30 02:03 Micha Renner   New Issue                                    
======================================================================



More information about the cmake-developers mailing list