aboutsummaryrefslogtreecommitdiff
path: root/cmake/showoptions.cmake
diff options
context:
space:
mode:
authorNaios <naios-dev@live.de>2016-04-14 20:30:31 +0200
committerNaios <naios-dev@live.de>2016-04-14 21:30:43 +0200
commit2038c311001982dba100d33a6fbb8797f9de1c87 (patch)
tree82e0f3a1901197138aeab63621c0c4c1abf0cb22 /cmake/showoptions.cmake
parent48776d9ce9ecb846cc049f70ceb18176226af1bf (diff)
Core/Scripting: Disallow the build directory to contain spaces
* I wasn't able to work arround a path which contains spaces, since it seems like a CMake specific issue. * Closes #16947 (cherry picked from commit 42eeb28a8b9c1f3ae2d667e4238e956a4a95bd6c)
Diffstat (limited to 'cmake/showoptions.cmake')
-rw-r--r--cmake/showoptions.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/showoptions.cmake b/cmake/showoptions.cmake
index 27ffe0578ef..e7f7b7ac647 100644
--- a/cmake/showoptions.cmake
+++ b/cmake/showoptions.cmake
@@ -122,6 +122,8 @@ if (BUILD_SHARED_LIBS)
message(" *** Dynamic linking was enforced through a dynamic script module!")
endif()
add_definitions(-DTRINITY_API_USE_DYNAMIC_LINKING)
+
+ WarnAboutSpacesInBuildPath()
endif()
message("")