Skip to content

Commit

Permalink
linux build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nesbox committed May 12, 2024
1 parent 0641669 commit 74c8b43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/core.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,5 @@ if(BUILD_DEPRECATED)
endif()

if(LINUX)
target_link_libraries(tic80core PRIVATE m dl pthread)
target_link_libraries(tic80core PRIVATE m dl)
endif()
2 changes: 1 addition & 1 deletion cmake/naett.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if(USE_NAETT)
target_link_libraries(naett INTERFACE winhttp)
elseif(LINUX)
target_include_directories(naett PRIVATE ${CURL_INCLUDE_DIRS})
target_link_libraries(naett ${CURL_LIBRARIES})
target_link_libraries(naett ${CURL_LIBRARIES} pthread)
elseif(APPLE)
target_link_libraries(naett
"-framework Cocoa")
Expand Down

0 comments on commit 74c8b43

Please sign in to comment.