mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 10:00:23 +08:00
Fixed some warnings on VisualStudio2010
This commit is contained in:
@@ -23,7 +23,7 @@ INCLUDE_DIRECTORIES(${INCLUDE_DIRS})
|
||||
ADD_LIBRARY(rtabmap_utilite ${SRC_FILES})
|
||||
IF(MINGW)
|
||||
TARGET_LINK_LIBRARIES(rtabmap_utilite ${PTHREADS_LIBRARY} "-lpsapi")
|
||||
ELSEIF(WIN32)
|
||||
ELSEIF(WIN32 OR MSVC)
|
||||
FIND_LIBRARY(PSAPI_LIBRARIES NAMES psapi libpsapi.dll.a libpsapi.a libpsapi.lib )
|
||||
TARGET_LINK_LIBRARIES(rtabmap_utilite ${PSAPI_LIBRARIES})
|
||||
ELSE()
|
||||
|
||||
Reference in New Issue
Block a user