|
|
@ -221,7 +221,7 @@ ENDIF()
|
|
|
|
IF(UNIX)
|
|
|
|
IF(UNIX)
|
|
|
|
SET(PROJECT_LIBS rt dl dfhack-md5 dfhack-tinyxml dfhack-tinythread)
|
|
|
|
SET(PROJECT_LIBS rt dl dfhack-md5 dfhack-tinyxml dfhack-tinythread)
|
|
|
|
IF(APPLE)
|
|
|
|
IF(APPLE)
|
|
|
|
SET(PROJECT_LIBS dl dfhack-md5 dfhack-tinyxml dfhack-tinythread SDL)
|
|
|
|
SET(PROJECT_LIBS dl dfhack-md5 dfhack-tinyxml dfhack-tinythread)
|
|
|
|
# include_directories(${CMAKE_INSTALL_PREFIX}/libs/SDL.framework/Headers)
|
|
|
|
# include_directories(${CMAKE_INSTALL_PREFIX}/libs/SDL.framework/Headers)
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
ELSE(WIN32)
|
|
|
|
ELSE(WIN32)
|
|
|
@ -257,7 +257,10 @@ ENDIF()
|
|
|
|
SET_TARGET_PROPERTIES(dfhack PROPERTIES DEBUG_POSTFIX "-debug" )
|
|
|
|
SET_TARGET_PROPERTIES(dfhack PROPERTIES DEBUG_POSTFIX "-debug" )
|
|
|
|
|
|
|
|
|
|
|
|
IF(APPLE)
|
|
|
|
IF(APPLE)
|
|
|
|
TARGET_LINK_LIBRARIES(dfhack ${CMAKE_INSTALL_PREFIX}/libs/SDL.framework/SDL)
|
|
|
|
SET(SDL_LIBRARY ${CMAKE_INSTALL_PREFIX}/libs/SDL.framework)
|
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(dfhack ${SDL_LIBRARY})
|
|
|
|
|
|
|
|
SET_TARGET_PROPERTIES(dfhack PROPERTIES VERSION 1.0.0)
|
|
|
|
|
|
|
|
SET_TARGET_PROPERTIES(dfhack PROPERTIES SOVERSION 1.0.0)
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(dfhack protobuf-lite clsocket lua ${PROJECT_LIBS})
|
|
|
|
TARGET_LINK_LIBRARIES(dfhack protobuf-lite clsocket lua ${PROJECT_LIBS})
|
|
|
|