CMake/Tests/RunCMake/COMPILE_LANGUAGE-genex/IncludeDirectories.cmake

6 lines
128 B
CMake
Raw Normal View History

enable_language(CXX)
add_executable(main main.cpp)
target_include_directories(main PRIVATE $<$<COMPILE_LANGUAGE:CXX>:anydir>)