|
|
@@ -47,3 +47,14 @@ else()
|
|
|
endif()
|
|
|
|
|
|
add_subdirectory(TargetIncludeDirectories)
|
|
|
+
|
|
|
+set_property(DIRECTORY PROPERTY INCLUDE_DIRECTORIES "${CMAKE_BINARY_DIR}")
|
|
|
+get_property(propContent DIRECTORY PROPERTY INCLUDE_DIRECTORIES)
|
|
|
+if (NOT propContent STREQUAL "${CMAKE_BINARY_DIR}")
|
|
|
+ message(SEND_ERROR "Setting DIRECTORY property failed.")
|
|
|
+endif()
|
|
|
+set_property(DIRECTORY PROPERTY INCLUDE_DIRECTORIES)
|
|
|
+get_property(propContentAfter DIRECTORY PROPERTY INCLUDE_DIRECTORIES)
|
|
|
+if (NOT propContentAfter STREQUAL "")
|
|
|
+ message(SEND_ERROR "Clearing DIRECTORY property failed.")
|
|
|
+endif()
|