mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 09:30:09 +02:00
fix link issues for many targets
This commit is contained in:
parent
a290017746
commit
9441f9ffb7
4 changed files with 13 additions and 3 deletions
|
@ -41,3 +41,7 @@ include_directories(${ROOT_DIR}/externals/civetweb/include)
|
|||
if (UNIX)
|
||||
target_link_libraries(${TARGET_NAME} ${CMAKE_DL_LIBS})
|
||||
endif (UNIX)
|
||||
|
||||
IF (WIN32)
|
||||
target_link_libraries(${TARGET_NAME} Winmm)
|
||||
ENDIF(WIN32)
|
||||
|
|
|
@ -38,3 +38,7 @@ link_hifi_library(shared ${TARGET_NAME} ${ROOT_DIR})
|
|||
if (UNIX AND NOT APPLE)
|
||||
target_link_libraries(${TARGET_NAME} ${CMAKE_DL_LIBS})
|
||||
endif (UNIX AND NOT APPLE)
|
||||
|
||||
IF (WIN32)
|
||||
target_link_libraries(${TARGET_NAME} Winmm)
|
||||
ENDIF(WIN32)
|
||||
|
|
|
@ -26,4 +26,6 @@ link_hifi_library(octree ${TARGET_NAME} ${ROOT_DIR})
|
|||
# link in the hifi voxels library
|
||||
link_hifi_library(voxels ${TARGET_NAME} ${ROOT_DIR})
|
||||
|
||||
|
||||
IF (WIN32)
|
||||
target_link_libraries(${TARGET_NAME} Winmm Ws2_32)
|
||||
ENDIF(WIN32)
|
||||
|
|
Loading…
Reference in a new issue