CMake/Tests/IncludeDirectories/StandardIncludeDirectories/CMakeLists.txt

6 lines
276 B
CMake

# Normally this variable should be set by a platform information module or
# a toolchain file, but for purposes of this test we simply set it here.
set(CMAKE_C_STANDARD_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_SOURCE_DIR}/StdDir)
add_executable(StandardIncludeDirectories main.c)