summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-03-17 22:27:29 (GMT)
committerMarius Kintel <marius@kintel.net>2013-03-17 22:27:29 (GMT)
commit3211e7f1e32cc0df415780f623e19f58c966266f (patch)
tree87aa1ba878f1f96cbd027d8f21bae471437eb03b /tests
parent5628a18f6a0fcf2dd170cac31e386f1ad4f97c0c (diff)
parent8e32cef0a8c52742bf12cafd2aa9dafd1efe764e (diff)
Merge pull request #313 from openscad/noqt_tweaks
Noqt tweaks
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 8fd079f..fff537a 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -585,6 +585,10 @@ else()
set(GUI_BINPATH "${CMAKE_CURRENT_SOURCE_DIR}/../openscad")
endif()
+if(EXISTS "${CMAKE_CURRENT_BINARY_DIR}/openscad")
+ set(GUI_BINPATH "${CMAKE_CURRENT_BINARY_DIR}/openscad")
+endif()
+
if(EXISTS "${GUI_BINPATH}")
message(STATUS "Found OpenSCAD GUI binary: ${GUI_BINPATH}")
else()
contact: Jan Huwald // Impressum