Fixes for Visual Studio

This commit is contained in:
Magne Sjaastad
2012-09-10 11:34:11 +02:00
parent e1d669ec65
commit 2bbd48588e
3 changed files with 31 additions and 14 deletions

View File

@@ -52,10 +52,11 @@ add_executable( ${ProjectName}
)
set( EXTERNAL_LINK_LIBRARIES
pthread
)
IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set( EXTERNAL_LINK_LIBRARIES
pthread
)
ENDIF()
target_link_libraries( ${ProjectName} ${LINK_LIBRARIES} ${EXTERNAL_LINK_LIBRARIES})