Fix for SHSTK

This commit is contained in:
5 changed files with 91 additions and 13 deletions

View File

@@ -4,9 +4,7 @@ cmake_policy(SET CMP0020 NEW)
find_package(SM REQUIRED)
add_executable(block_choice block_choice.cpp)
target_include_directories(block_choice PUBLIC ${SMBRICKS_INCLUDES} ${PIP_INCLUDES})
target_link_libraries(block_choice ${PIP_LIBRARY})
target_link_libraries(block_choice PIP)
add_executable(smbusdata_crash_test smbusdata_crash_test.cpp)
target_include_directories(smbusdata_crash_test PUBLIC ${SMBRICKS_INCLUDES} ${PIP_INCLUDES})
target_link_libraries(smbusdata_crash_test SMBricks_shared ${PIP_LIBRARY} ${PIP_CRYPT_LIBRARY})
target_link_libraries(smbusdata_crash_test SMBricks_shared PIP::Crypt)