'target_include_directories(BEFORE) not working

Related to this question, but with the following difference: I have a file inc/Math.h included with target_include_directories(tgt PUBLIC inc). But when include it, it includes the system header instead of my Math.h. It is possible to change this without renaming the header? I also tried BEFORE and it didn't worked.

// CMakeLists.txt
cmake_minimum_required(VERSION 3.11)
project(PineapplePizza)

add_executable(NicolasCage main.cpp)
target_include_directories(NicolasCage inc)
// main.cpp
#include "Math.h" // Includes system's one, not inc/Math.h

int main() {}
// inc/Math.h
#pragma once

#include <cmath>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source