diff options
| author | Aaditya Dhruv <[email protected]> | 2026-01-27 20:12:05 -0600 |
|---|---|---|
| committer | Aaditya Dhruv <[email protected]> | 2026-01-27 20:12:05 -0600 |
| commit | 186889aaa18426d31c268735a4d34b494234f421 (patch) | |
| tree | 7a941c5258828fd65a02edf6ac62c241eebcc177 /CMakeLists.txt | |
| parent | de3c9942416382aae0f2f2aac3b67c1e8b4d71f1 (diff) | |
Update libjunk detection in CMakeLists.txt
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f2bf966..58c0dfa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,4 +10,5 @@ message("Compiler: ${CMAKE_CXX_COMPILER_ID}") add_subdirectory(src) target_include_directories(junkcraft PRIVATE include) find_package(SDL2) -target_link_libraries(junkcraft PRIVATE SDL2 junk m) +find_library(JUNK junk) +target_link_libraries(junkcraft PRIVATE SDL2 ${JUNK} m) |
