diff options
author | sfan5 <sfan5@live.de> | 2016-09-29 16:20:05 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2016-09-29 16:31:31 +0200 |
commit | 45a9145a4bd44a677c77687880d0b0acb7e6b421 (patch) | |
tree | 904cd00e9f47dac8ee70b99d393775589b1e7fa9 /src/unittest | |
parent | cc0b3c1cd14f036d6336ae0fb2329fd245b6b4b4 (diff) | |
download | minetest-45a9145a4bd44a677c77687880d0b0acb7e6b421.tar.gz minetest-45a9145a4bd44a677c77687880d0b0acb7e6b421.tar.bz2 minetest-45a9145a4bd44a677c77687880d0b0acb7e6b421.zip |
Only include keycode unittests in client build (fixes #4559)
Diffstat (limited to 'src/unittest')
-rw-r--r-- | src/unittest/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/unittest/CMakeLists.txt b/src/unittest/CMakeLists.txt index c7c95772f..e0978aa72 100644 --- a/src/unittest/CMakeLists.txt +++ b/src/unittest/CMakeLists.txt @@ -6,7 +6,6 @@ set (UNITTEST_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/test_connection.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_filepath.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_inventory.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/test_keycode.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_map_settings_manager.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_mapnode.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_nodedef.cpp @@ -24,3 +23,7 @@ set (UNITTEST_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/test_voxelalgorithms.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test_voxelmanipulator.cpp PARENT_SCOPE) + +set (UNITTEST_CLIENT_SRCS + ${CMAKE_CURRENT_SOURCE_DIR}/test_keycode.cpp + PARENT_SCOPE) |