summaryrefslogtreecommitdiff
path: root/cmake/test.cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-08-15 14:36:16 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-08-16 15:29:34 +0200
commit51391740bf324fd7131f069d1d2d106113560df3 (patch)
tree93b93bd806525966b531ed8d7b1aeeee43705058 /cmake/test.cmake
parent4e211548d5029a353aaa8814c40599970a8098bd (diff)
downloadqtlocation-mapboxgl-51391740bf324fd7131f069d1d2d106113560df3.tar.gz
[build] convert build-shaders script from Python to Node.js
Diffstat (limited to 'cmake/test.cmake')
-rw-r--r--cmake/test.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmake/test.cmake b/cmake/test.cmake
index 6cce8d248d..29975662ce 100644
--- a/cmake/test.cmake
+++ b/cmake/test.cmake
@@ -2,13 +2,11 @@ add_executable(mbgl-test
${MBGL_TEST_FILES}
)
-cache_executable_path(node _node)
-
target_compile_options(mbgl-test
PRIVATE -fvisibility-inlines-hidden
)
-set_source_files_properties(test/src/mbgl/test/util.cpp PROPERTIES COMPILE_FLAGS -DNODE_EXECUTABLE="${_node}")
+set_source_files_properties(test/src/mbgl/test/util.cpp PROPERTIES COMPILE_FLAGS -DNODE_EXECUTABLE="${NodeJS_EXECUTABLE}")
target_include_directories(mbgl-test
PRIVATE include