From adead30747b398ea52abe6286c12164870816f2e Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Tue, 20 Jan 2015 07:40:46 +0100 Subject: Fix Debian build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b01a60..a849450 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -245,7 +245,7 @@ set_target_properties (liblogdiag PROPERTIES OUTPUT_NAME logdiag) # Build the executable add_executable (logdiag WIN32 ${logdiag_SOURCES} ${logdiag_HEADERS}) -target_link_libraries (logdiag liblogdiag ${logdiag_LIBS}) +target_link_libraries (logdiag liblogdiag m ${logdiag_LIBS}) # Testing option (BUILD_TESTING "Build tests" OFF) -- cgit v1.2.3-54-g00ecf