fix libs/CMakeLists.txt

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4837 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 07577849edbee8895500bfffafde1437efab283e
Former-commit-id: 3ceb60ffefa110fb47a6eb84c8ac56e47cb70027
This commit is contained in:
torcs-ng 2012-08-06 21:08:14 +00:00
parent 73c40bafa8
commit e7fc77a3a6
2 changed files with 9 additions and 2 deletions

View file

@ -13,6 +13,11 @@ ADD_SUBDIRECTORY(raceengine)
ADD_SUBDIRECTORY(learning)
ADD_SUBDIRECTORY(math)
ADD_SUBDIRECTORY(portability)
ADD_SUBDIRECTORY(ephemeris)
#ADD_SUBDIRECTORY(metar)
# Work-in-progress
IF(NOT OPTION_OFFICIAL_ONLY)
ADD_SUBDIRECTORY(ephemeris)
#ADD_SUBDIRECTORY(metar)
ENDIF()

View file

@ -23,6 +23,8 @@ ADD_LIBRARY(metar SHARED ${METAR_SOURCES})
# Might not work with GCC 4.5 or + (non-robot modules crash at 1st reload = after 1 dlclose)
#SET_TARGET_PROPERTIES(learning PROPERTIES VERSION ${VERSION} SOVERSION 0.0.0)
ADD_PLIB_LIBRARY(metar)
IF(WIN32)
SD_INSTALL_FILES(BIN TARGETS metar)
ELSE(WIN32)