# CMake version related problem?

**URL:** https://discourse.cmake.org/t/cmake-version-related-problem/6367
**Category:** Usage
**Tags:** os:linux
**Created:** [August 28, 2022, 12:17pm UTC](https://discourse.cmake.org/t/cmake-version-related-problem/6367 "2022-08-28T12:17:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![skgoswami](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/s/7cd45c/32.png) [@skgoswami](https://discourse.cmake.org/u/skgoswami)
#### Post date: [August 28, 2022, 12:17pm UTC](https://discourse.cmake.org/t/cmake-version-related-problem/6367/1 "2022-08-28T12:17:27Z")

</div>

I found a same CMakeLists.txt file behaving differently on Linux. I was using Qt Creator IDE with cmake. In previous version without target\_link\_libraries() command the project was building alright but with recent version I had to use target\_link\_libraries for inclusion of ‘math.h’.  
Another issue I found target\_include\_directories is not showing headers under Header Files directory as in file system. In my case I had headers in ‘include’ folder but following command is putting all files directly under Header Files directory unlike source files with .c and .cpp type files.  
target\_include\_directories(Bool\_Multi PUBLIC include)  
However I found in youtube demos of Visual Studio the project is being created in same style as in File system.  
Request some help to clear my doubt why the behaviour is so.
