mirror of
https://github.com/reactos/CMake.git
synced 2024-12-19 01:27:11 +00:00
08cb4fa4c0
This use of generator expressions, like all others to come which operate on target properties, must initalize the dag checker.
10 lines
335 B
CMake
10 lines
335 B
CMake
|
|
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/main.cpp"
|
|
"int main(int, char **) { return 0; }\n")
|
|
|
|
add_executable(TargetPropertyGeneratorExpressions
|
|
"${CMAKE_CURRENT_BINARY_DIR}/main.cpp")
|
|
set_property(TARGET TargetPropertyGeneratorExpressions PROPERTY
|
|
INCLUDE_DIRECTORIES "$<TARGET_PROPERTY:INCLUDE_DIRECTORIES>"
|
|
)
|