diff options
Diffstat (limited to 'compiler/record-minmax/CMakeLists.txt')
-rw-r--r-- | compiler/record-minmax/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/record-minmax/CMakeLists.txt b/compiler/record-minmax/CMakeLists.txt index 862660e06..f8a165bd3 100644 --- a/compiler/record-minmax/CMakeLists.txt +++ b/compiler/record-minmax/CMakeLists.txt @@ -19,9 +19,14 @@ target_link_libraries(record-minmax safemain) target_link_libraries(record-minmax luci_import) target_link_libraries(record-minmax luci_export) target_link_libraries(record-minmax luci_interpreter) +target_link_libraries(record-minmax vconone) install(TARGETS record-minmax DESTINATION bin) +if(NOT ENABLE_TEST) + return() +endif(NOT ENABLE_TEST) + nnas_find_package(GTest REQUIRED) GTest_AddTest(record_minmax_function_test "${CMAKE_CURRENT_SOURCE_DIR}/tests/RecordFunction.test.cpp") target_include_directories(record_minmax_function_test PRIVATE include) |