diff --git a/abstract-machine/am/src/native/CMakeLists.txt b/abstract-machine/am/src/native/CMakeLists.txt index c0ca761..3f5b769 100644 --- a/abstract-machine/am/src/native/CMakeLists.txt +++ b/abstract-machine/am/src/native/CMakeLists.txt @@ -21,5 +21,5 @@ set_target_properties( find_package(SDL2 REQUIRED) target_link_libraries( am-native - PUBLIC SDL2::SDL2 dl + PUBLIC SDL2::SDL2 dl m PRIVATE klib_interface am_interface) diff --git a/abstract-machine/klib/tests/CMakeLists.txt b/abstract-machine/klib/tests/CMakeLists.txt index 6d1c225..d5e62ad 100644 --- a/abstract-machine/klib/tests/CMakeLists.txt +++ b/abstract-machine/klib/tests/CMakeLists.txt @@ -4,7 +4,7 @@ foreach(TEST IN LISTS TEST_SOURCES) # TODO: Run tests in other configurations if(__PLATFORM_NATIVE__) add_executable(${TEST} ${TEST}.c) - target_link_libraries(${TEST} PRIVATE am_interface klib_interface klib m) + target_link_libraries(${TEST} PRIVATE am_interface klib_interface klib) target_link_libraries(${TEST} PRIVATE am-native) add_test(NAME ${TEST} COMMAND ${TEST}) endif()