CMake: simplify some expressions

This commit is contained in:
Tillmann Karras
2015-01-03 13:17:57 +01:00
parent c3d52e0476
commit 6bcdb10eee
13 changed files with 42 additions and 46 deletions

View File

@ -31,7 +31,7 @@ set(UIS
list(APPEND LIBS core uicommon)
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
if(APPLE)
set(DOLPHINQT_BINARY DolphinQt)
else()
set(DOLPHINQT_BINARY dolphin-emu-qt)
@ -42,7 +42,7 @@ add_executable(${DOLPHINQT_BINARY} ${SRCS} ${UI_HEADERS})
target_link_libraries(${DOLPHINQT_BINARY} ${LIBS})
qt5_use_modules(${DOLPHINQT_BINARY} Widgets)
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
if(APPLE)
# Note: This is based on the DolphinWX version.
include(BundleUtilities)