aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 1d6b55c..9c76576 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -19,11 +19,11 @@ macro(test_int name kind)
add_executable(${target} ${name}.cc)
target_include_directories(${target} PRIVATE ${src})
target_compile_options(${target} PRIVATE -Wall -Wextra)
- if(${kind} STREQUAL "gtest")
+ if("${kind}" STREQUAL "gtest")
target_link_libraries(${target} GTest::gmock_main)
target_link_libraries(${target} SystemC::systemc)
gtest_discover_tests(${target})
- elseif(${kind} STREQUAL "sim")
+ elseif("${kind}" STREQUAL "sim")
target_link_libraries(${target} SystemC::systemc)
add_test(NAME ${target} COMMAND ${target})
else()