summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorBernd Wachter <bwachter-tmw@lart.info>2010-01-31 20:23:23 +0100
committerBernd Wachter <bwachter-tmw@lart.info>2010-01-31 20:23:23 +0100
commit86522166e082b2defaea541747ecdce0f1149fe5 (patch)
tree95559c93c9bd34dcb6d0c7e5110a3e3c1d93a201 /src/CMakeLists.txt
parentd19f23cac4eb2af42a8515873671625ccfb735c5 (diff)
downloadmana-86522166e082b2defaea541747ecdce0f1149fe5.tar.gz
mana-86522166e082b2defaea541747ecdce0f1149fe5.tar.bz2
mana-86522166e082b2defaea541747ecdce0f1149fe5.tar.xz
mana-86522166e082b2defaea541747ecdce0f1149fe5.zip
Remove support for building/packaging two binaries
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt36
1 files changed, 15 insertions, 21 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 68d7b064..1a25d04b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -586,38 +586,32 @@ SET(SRCS_MANA
IF (WIN32)
SET(SRCS_MANA ${SRCS_MANA} mana.rc)
- SET(SRCS_EA ${SRCS_EA} mana-ea.rc)
ENDIF ()
SET (PROGRAMS mana)
ADD_EXECUTABLE(mana WIN32 ${SRCS} ${SRCS_MANA} ${SRCS_EA})
-#ADD_EXECUTABLE(mana-ea WIN32 ${SRCS} ${SRCS_EA})
-FOREACH(program ${PROGRAMS})
- TARGET_LINK_LIBRARIES(${program} ${SDL_LIBRARY}
- ${SDLIMAGE_LIBRARY}
- ${SDLMIXER_LIBRARY}
- ${SDLNET_LIBRARY}
- ${SDLTTF_LIBRARY}
- ${ENET_LIBRARIES}
- ${PNG_LIBRARIES}
- ${PHYSFS_LIBRARY}
- ${CURL_LIBRARIES}
- ${LIBXML2_LIBRARIES}
- ${GUICHAN_LIBRARIES}
- ${OPENGL_LIBRARIES}
- ${LIBINTL_LIBRARIES}
- ${EXTRA_LIBRARIES})
- INSTALL(TARGETS ${program} RUNTIME DESTINATION ${PKG_BINDIR})
-ENDFOREACH(program)
+TARGET_LINK_LIBRARIES(mana ${SDL_LIBRARY}
+ ${SDLIMAGE_LIBRARY}
+ ${SDLMIXER_LIBRARY}
+ ${SDLNET_LIBRARY}
+ ${SDLTTF_LIBRARY}
+ ${ENET_LIBRARIES}
+ ${PNG_LIBRARIES}
+ ${PHYSFS_LIBRARY}
+ ${CURL_LIBRARIES}
+ ${LIBXML2_LIBRARIES}
+ ${GUICHAN_LIBRARIES}
+ ${OPENGL_LIBRARIES}
+ ${LIBINTL_LIBRARIES}
+ ${EXTRA_LIBRARIES})
+INSTALL(TARGETS mana RUNTIME DESTINATION ${PKG_BINDIR})
IF (CMAKE_SYSTEM_NAME STREQUAL SunOS)
# we expect the SMCgtxt package to be present on Solaris;
# the Solaris gettext is not API-compatible to GNU gettext
SET_TARGET_PROPERTIES(mana PROPERTIES LINK_FLAGS "-L/usr/local/lib")
- #SET_TARGET_PROPERTIES(mana-ea PROPERTIES LINK_FLAGS "-L/usr/local/lib")
ENDIF()
SET_TARGET_PROPERTIES(mana PROPERTIES COMPILE_FLAGS "${FLAGS_MANA}")
-#SET_TARGET_PROPERTIES(mana-ea PROPERTIES COMPILE_FLAGS "${FLAGS_EA}")