mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-01 12:18:36 -06:00
Swift: Exclude SDK include paths
Populate `CMAKE_Swift_IMPLICIT_INCLUDE_DIRECTORIES` with the macOS SDK's include directory so that we filter such implicit directories out of Swift targets. Fixes: #19845
This commit is contained in:
committed by
Brad King
parent
155540d89e
commit
5c2a92f44f
6
Tests/RunCMake/XcodeProject/use_cmath.cpp
Normal file
6
Tests/RunCMake/XcodeProject/use_cmath.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <cmath>
|
||||
|
||||
bool foo(double arg)
|
||||
{
|
||||
return std::isfinite(arg);
|
||||
}
|
||||
Reference in New Issue
Block a user