cmake: Debug build sets DEBUG, properly find check lib

This commit is contained in:
Nils O. Selåsdal
2026-04-06 23:25:56 +02:00
parent 85713d25c1
commit b2f834b7cd
3 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
file(GLOB TEST_SOURCE_FILES test_*.c)
link_libraries(check ucore Threads::Threads)
link_libraries(ucore Threads::Threads PkgConfig::CHECK)
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
include_directories("/opt/homebrew/include")
link_directories("/opt/homebrew/lib")