Link libcJSON against libm

fixes #6147
This commit is contained in:
Gunnar Beutner 2014-09-01 13:39:49 +02:00
parent 46f26024dc
commit 8d16ed8425
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@ set_target_properties (
FOLDER Lib
)
if(UNIX)
target_link_libraries(cJSON m)
endif()
install(
TARGETS cJSON
RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR}