diff options
Diffstat (limited to 'extern/draco/dracoenc/cmake/compiler_tests.cmake')
-rw-r--r-- | extern/draco/dracoenc/cmake/compiler_tests.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extern/draco/dracoenc/cmake/compiler_tests.cmake b/extern/draco/dracoenc/cmake/compiler_tests.cmake index e529ba11253..7cc3fbfc67d 100644 --- a/extern/draco/dracoenc/cmake/compiler_tests.cmake +++ b/extern/draco/dracoenc/cmake/compiler_tests.cmake @@ -41,9 +41,9 @@ macro(draco_check_c_compiles test_name test_source result_var) set(${result_var} ${C_TEST_COMPILED}) if (${C_TEST_COMPILED}) - set(DRACO_C_PASSED_TESTS "${DRACO_C_PASSED_TESTS} ${test_name}") + string(APPEND DRACO_C_PASSED_TESTS " ${test_name}") else () - set(DRACO_C_FAILED_TESTS "${DRACO_C_FAILED_TESTS} ${test_name}") + string(APPEND DRACO_C_FAILED_TESTS " ${test_name}") message("C Compiler test ${test_name} failed.") endif () elseif (NOT ${C_TEST_PASSED} EQUAL -1) @@ -71,9 +71,9 @@ macro(draco_check_cxx_compiles test_name test_source result_var) set(${result_var} ${CXX_TEST_COMPILED}) if (${CXX_TEST_COMPILED}) - set(DRACO_CXX_PASSED_TESTS "${DRACO_CXX_PASSED_TESTS} ${test_name}") + string(APPEND DRACO_CXX_PASSED_TESTS " ${test_name}") else () - set(DRACO_CXX_FAILED_TESTS "${DRACO_CXX_FAILED_TESTS} ${test_name}") + string(APPEND DRACO_CXX_FAILED_TESTS " ${test_name}") message("CXX Compiler test ${test_name} failed.") endif () elseif (NOT ${CXX_TEST_PASSED} EQUAL -1) |