diff options
author | tabe <none@none> | 2013-02-09 09:54:03 +0900 |
---|---|---|
committer | tabe <none@none> | 2013-02-09 09:54:03 +0900 |
commit | 1c6a7fc9652853715500ff7c63737e339ad17099 (patch) | |
tree | ef467bdd5dfcbecb529da67614fd9732ea2fefb1 | |
parent | ae031d2ea21cdb2911fc95377d1b830ed477c92d (diff) | |
download | libgd-1c6a7fc9652853715500ff7c63737e339ad17099.tar.gz |
add dependency on libm for copyrotated (refs gd-libgd #8)
-rw-r--r-- | examples/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index d920d8f..99fc84e 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -35,6 +35,12 @@ FOREACH(test_name ${TESTS_FILES}) target_link_libraries (${test_name} ${GD_LIB}) ENDFOREACH(test_name) +if(JPEG_FOUND) + if(UNIX) + target_link_libraries(copyrotated m) + endif(UNIX) +endif(JPEG_FOUND) + if (WIN32 AND NOT MINGW AND NOT MSYS) add_executable(windows WIN32 "windows.c") target_link_libraries (windows ${GD_LIB}) |