13 lines
528 B
CMake
13 lines
528 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
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})
|
|
|
|
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})
|