aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorJan Palus <jpalus@fastmail.com>2022-02-19 19:09:51 +0100
committerJan Palus <jpalus@fastmail.com>2022-02-19 19:09:51 +0100
commit62f510e2e846b182d5565c354a72319849ab5a21 (patch)
tree228f64955107dbcbda405c72869679f309c95e92 /src/CMakeLists.txt
parent9e8a410fb703456654f21df96088f6bae34748b7 (diff)
downloadayatana-ido-62f510e2e846b182d5565c354a72319849ab5a21.tar.gz
ayatana-ido-62f510e2e846b182d5565c354a72319849ab5a21.tar.bz2
ayatana-ido-62f510e2e846b182d5565c354a72319849ab5a21.zip
src/CMakeLists.txt: link libm for expf, pow and sinf
Fixes #52
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2f98b5d..eea4b0a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -97,7 +97,7 @@ add_custom_command(
add_library("ayatana-ido3-0.4" SHARED ${SOURCES})
set_target_properties("ayatana-ido3-0.4" PROPERTIES VERSION 0.0.0 SOVERSION 0)
-target_link_libraries("ayatana-ido3-0.4" ${PROJECT_DEPS_LIBRARIES})
+target_link_libraries("ayatana-ido3-0.4" ${PROJECT_DEPS_LIBRARIES} m)
target_include_directories("ayatana-ido3-0.4" PUBLIC ${PROJECT_DEPS_INCLUDE_DIRS})
target_include_directories("ayatana-ido3-0.4" PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories("ayatana-ido3-0.4" PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})