0029684: Configuration: modification of build Inspector tool standalone on occt
[occt.git] / tools / adm / cmake / occt_toolkit_prepare_tool.cmake
diff --git a/tools/adm/cmake/occt_toolkit_prepare_tool.cmake b/tools/adm/cmake/occt_toolkit_prepare_tool.cmake
new file mode 100644 (file)
index 0000000..86e6851
--- /dev/null
@@ -0,0 +1,5 @@
+if ("${TARGET_FOLDER}" STREQUAL "")
+  set (CMAKE_SOURCE_DIR "${CMAKE_SOURCE_DIR}/..")
+endif("${TARGET_FOLDER}" STREQUAL "")
+
+OCCT_INCLUDE_CMAKE_FILE (adm/cmake/occt_toolkit_prepare_tool)