cmake: Debug build sets DEBUG, properly find check lib
This commit is contained in:
+1
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user