build: add default install for DragonFly, Solaris, etc.

This commit is contained in:
Jan Beich 2016-10-10 05:58:05 +00:00
parent 52da9de5c4
commit 2240cb2eb0
3 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ if (MSVC)
endif()
target_link_libraries(citra ${PLATFORM_LIBRARIES} Threads::Threads)
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD")
if(UNIX AND NOT APPLE)
install(TARGETS citra RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
endif()