From f1d283e941680a97d74a2fb7f6bcdd9490efc394 Mon Sep 17 00:00:00 2001 From: nancy.liao <huihui.liao@greentest.com.cn> Date: 周四, 29 5月 2025 18:14:27 +0800 Subject: [PATCH] 根据具体需求 修改了一个强制性的版本匹配,否则license返回结果不正确 --- test/CMakeLists.txt | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 2c02526..924c9f0 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,17 +1,13 @@ #if we're here boost has been found add_definitions(-DBOOST_ALL_NO_LIB) #Disable Boost Microsoft magic, all dependencies are handled by cmake -add_definitions(-DBOOST_LIB_DIAGNOSTIC) #Check it is really disabled -include_directories(${Boost_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) -link_directories ( ${Boost_LIBRARY_DIR} ) configure_file ( "${CMAKE_CURRENT_SOURCE_DIR}/../src/templates/licensecc_properties_test.h.in" "${CMAKE_BINARY_DIR}/licensecc_properties_test.h.tmp" ) - file(GENERATE OUTPUT "${CMAKE_BINARY_DIR}/include/$<CONFIG>/licensecc_properties_test.h" INPUT "${CMAKE_BINARY_DIR}/licensecc_properties_test.h.tmp") - include_directories ( ${CMAKE_BINARY_DIR}/include/$<CONFIG> ) + add_subdirectory(library) add_subdirectory(functional) \ No newline at end of file -- Gitblit v1.9.1