Link libm on unix platforms.

This commit is contained in:
Joakim Soderberg 2013-12-13 12:39:50 +00:00
parent ce14defeb6
commit 58fcd42880

View File

@ -553,6 +553,10 @@ if(WIN32)
include_directories(./WIN32-Code) include_directories(./WIN32-Code)
endif() endif()
if (UNIX)
list(APPEND LIB_PLATFORM m)
endif()
source_group("Headers Private" FILES ${HDR_PRIVATE}) source_group("Headers Private" FILES ${HDR_PRIVATE})
source_group("Headers Public" FILES ${HDR_PUBLIC}) source_group("Headers Public" FILES ${HDR_PUBLIC})
source_group("Source Core" FILES ${SRC_CORE}) source_group("Source Core" FILES ${SRC_CORE})