Fix Archlinux build

Thanks to lfxgroove
This commit is contained in:
Foereaper 2015-03-31 20:48:00 +02:00
parent 060ab0060d
commit 7c0c79400c
2 changed files with 8 additions and 0 deletions

View File

@ -68,6 +68,10 @@ else()
target_link_libraries(${EXECUTABLE_NAME} ACE)
endif()
if(UNIX)
target_link_libraries(${EXECUTABLE_NAME} rt)
endif()
target_link_libraries(${EXECUTABLE_NAME} g3dlite vmap detour recast zlib shared)
#Output the compiled exes to build/bin/$(Configuration)/tools directory on windows by default

View File

@ -49,6 +49,10 @@ else()
target_link_libraries(${EXECUTABLE_NAME} ACE)
endif()
if(UNIX)
target_link_libraries(${EXECUTABLE_NAME} rt dl)
endif()
target_link_libraries(${EXECUTABLE_NAME} vmap g3dlite zlib)
set(EXECUTABLE_LINK_FLAGS "")