Add NetBSD support (#985)

Note - This will require PaX MPROTECT to be disabled for melonDS by running:
paxctl +m melonDS
This commit is contained in:
WaluigiWare64
2021-02-03 16:14:53 +00:00
committed by GitHub
parent 7b9b8418cb
commit 2502c8d212
2 changed files with 8 additions and 1 deletions

View File

@ -92,7 +92,10 @@ endif()
if (UNIX)
option(PORTABLE "Make a portable build that looks for its configuration in the current directory" OFF)
target_link_libraries(melonDS dl Qt5::Core Qt5::Gui Qt5::Widgets)
target_link_libraries(melonDS Qt5::Core Qt5::Gui Qt5::Widgets)
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_link_libraries(melonDS dl)
endif()
elseif (WIN32)
option(PORTABLE "Make a portable build that looks for its configuration in the current directory" ON)
configure_file("${CMAKE_SOURCE_DIR}/melon.rc.in" "${CMAKE_SOURCE_DIR}/melon.rc")