fix cmake
Some checks failed
linux-arm-gcc / linux-gcc-armhf (push) Failing after 3m5s
linux-arm-gcc / linux-gcc-arm (push) Failing after 3m34s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 1m54s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 3m14s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 3m31s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 1m51s
Some checks failed
linux-arm-gcc / linux-gcc-armhf (push) Failing after 3m5s
linux-arm-gcc / linux-gcc-arm (push) Failing after 3m34s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 1m54s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 3m14s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 3m31s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 1m51s
This commit is contained in:
parent
80caa74d9b
commit
e1d9459262
@ -148,8 +148,7 @@ function(sled_add_test)
|
|||||||
endif()
|
endif()
|
||||||
target_include_directories(${SLED_TEST_NAME} PRIVATE ${SLED_TEST_INC_DIRS})
|
target_include_directories(${SLED_TEST_NAME} PRIVATE ${SLED_TEST_INC_DIRS})
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
${SLED_TEST_NAME} PRIVATE ${SLED_TEST_LIBS} sled $<$<BOOL: NOT
|
${SLED_TEST_NAME} PRIVATE ${SLED_TEST_LIBS} sled $<IF:$<BOOL:${SLED_NO_MAIN}>,,test_main>)
|
||||||
${SLED_TEST_NO_MAIN}>:test_main>)
|
|
||||||
add_test(NAME ${SLED_TEST_NAME} COMMAND ${SLED_TEST_NAME})
|
add_test(NAME ${SLED_TEST_NAME} COMMAND ${SLED_TEST_NAME})
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user