cmake_minimum_required(VERSION 3.0) cmake_policy(SET CMP0020 NEW) find_package(SM REQUIRED) add_executable(block_choice block_choice.cpp) target_link_libraries(block_choice PIP) add_executable(smbusdata_crash_test smbusdata_crash_test.cpp) target_link_libraries(smbusdata_crash_test SMBricks_shared PIP::Crypt) add_executable(pibytearray_template_spec template_specialization.cpp) target_link_libraries(pibytearray_template_spec SMBricks_shared PIP::Crypt)