The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15444 ====================================================================== Reported By: alean79 Assigned To: ====================================================================== Project: CMake Issue ID: 15444 Category: CMake Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2015-03-13 13:40 EDT Last Modified: 2015-03-13 13:40 EDT ====================================================================== Summary: include_directories is case insensitive usually, but is case sensitive in files inside subfolders Description: I have a project that was developed in Windows environment, so the #include sentences was developed in case insensitive way (there are a LOT of differences between the name of the .hpp included, and the real name of the .hpp file).
I imported that project in a Linux environment, and configured cmake with the following clause: include_directories( SYSTEM ${PROJECT_SOURCE_DIR}/inc) Inside the "inc" folder there are .hpp files, but there are subfolders with aditional .hpp files. In my code, the .hpp files that are in the "inc" folder are recognized correctly, beside the case problems. But the files in the subfolders are NOT recognized if there are case differences. Example: ${PROJECT_SOURCE_DIR} | |-- inc | |-- vpp => subfolder | | | |-- vpp.hpp => header file | |-- flags.hpp => header file If I include the second header file with the following sentence, the file is recognized correctly: #include <flags.hpp> But, if I include the first header file with the following sentence, the file is NOT found: #include <vpp/vpp.hpp> ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-03-13 13:40 alean79 New Issue 2015-03-13 13:40 alean79 File Added: CMakeLists.txt ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers